mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 12:25:37 +00:00
79a16da61e
Some CI workers don't seem to understand `cmake -v`, and Windows' shell doesn't understand `VERBOSE=1 cmake`. Signed-off-by: Simon McVittie <smcv@collabora.com>
29 lines
867 B
YAML
29 lines
867 B
YAML
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
|
|
run: make -j`nproc` V=1
|
|
|
|
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
|
|
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
|
|
- name: Build
|
|
run: cmake --build build
|