2021-12-06 20:20:09 -05:00
|
|
|
name: Build (RISC OS)
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2022-07-18 23:48:31 -04:00
|
|
|
autotools:
|
|
|
|
name: autotools
|
2021-12-06 20:20:09 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
2022-07-18 23:48:31 -04:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Configure
|
|
|
|
run: ./configure --host=arm-unknown-riscos --disable-gcc-atomics
|
|
|
|
- name: Build
|
|
|
|
run: make -j`nproc`
|
2021-12-06 20:20:09 -05:00
|
|
|
|
2022-07-18 23:48:31 -04:00
|
|
|
cmake:
|
|
|
|
name: CMake
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
2021-12-06 20:20:09 -05:00
|
|
|
steps:
|
|
|
|
- name: Setup dependencies
|
|
|
|
run: apt-get update && apt-get install -y cmake ninja-build
|
|
|
|
- uses: actions/checkout@v2
|
2022-07-18 23:48:31 -04:00
|
|
|
- name: Configure CMake
|
|
|
|
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
|
|
|
|
- name: Build
|
|
|
|
run: cmake --build build
|