use strict example builds for both linux and macOS
@@ -3,12 +3,13 @@ name: CI
on: [push, pull_request]
jobs:
- linux:
- timeout-minutes: 10
- runs-on: ubuntu-latest
+ unix:
+ timeout-minutes: 20
+ runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
+ os: [ubuntu-latest, macOS-latest]
compiler: [gcc, clang]
steps:
@@ -35,29 +36,6 @@ jobs:
bake examples/os_api/flecs-os_api-bake
bake test
- macos:
- timeout-minutes: 20
- runs-on: macOS-latest
-
- steps:
- - uses: actions/checkout@v2
- - name: Install bake
- run: |
- git clone https://github.com/SanderMertens/bake
- make -C bake/build-$(uname)
- bake/bake setup
-
- - name: Build Flecs
- run: bake --strict
-
- - name: Build Flecs (release)
- run: bake --strict --cfg release
-
- - name: Run tests
- run: |
- bake examples/os_api/flecs-os_api-bake
- bake test
-
windows:
timeout-minutes: 10
runs-on: windows-latest
