mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-04-08 05:42:59 +02:00
macos github workflow
This commit is contained in:
parent
5089fd91aa
commit
71486b2550
21
.github/workflows/cmake.yml
vendored
21
.github/workflows/cmake.yml
vendored
@ -41,6 +41,27 @@ jobs:
|
|||||||
## See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
## See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
||||||
#run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure
|
#run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure
|
||||||
|
|
||||||
|
macos:
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
|
# TODO: cache
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: brew install sdl2
|
||||||
|
|
||||||
|
- name: Configure CMake
|
||||||
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 4
|
||||||
|
|
||||||
# TODO: for some reason vcpkg find sdl does not work, despite the find_package REQUIRE not failing
|
# TODO: for some reason vcpkg find sdl does not work, despite the find_package REQUIRE not failing
|
||||||
#windows:
|
#windows:
|
||||||
#timeout-minutes: 10
|
#timeout-minutes: 10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user