2021-10-26 22:10:30 +00:00
|
|
|
name: Build (RISC OS)
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
autotools:
|
|
|
|
name: autotools
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Configure
|
|
|
|
run: ./configure --host=arm-unknown-riscos --disable-gcc-atomics
|
|
|
|
- name: Build
|
2022-05-04 16:45:26 +00:00
|
|
|
run: make -j`nproc` V=1
|
2021-10-26 22:10:30 +00:00
|
|
|
|
|
|
|
cmake:
|
|
|
|
name: CMake
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
|
|
|
steps:
|
|
|
|
- name: Setup dependencies
|
|
|
|
run: apt-get update && apt-get install -y cmake ninja-build
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Configure CMake
|
2022-05-04 17:14:22 +00:00
|
|
|
run: cmake -S. -Bbuild -G Ninja -DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake -DRISCOS=ON -DSDL_GCC_ATOMICS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON
|
2021-10-26 22:10:30 +00:00
|
|
|
- name: Build
|
2022-05-04 17:14:22 +00:00
|
|
|
run: cmake --build build
|