add macOS to GitHub actions
@@ -30,6 +30,29 @@ jobs:
- name: Run tests
run: bake test
+ macos:
+ timeout-minutes: 10
+ 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
+
+ - name: Build examples
+ run: |
+ bake examples/c
+ bake examples/cpp
+
+ - name: Run tests
+ run: bake test
+
# windows:
# timeout-minutes: 10
# strategy:
