Repository navigation
build: add -flto for wasm32 to fix setjmp/longjmp with Emscripten #474
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: tests | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| test_zig: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{matrix.os}} | |
| steps: | |
| - name: Clone Ziglua | |
| uses: actions/checkout@v3 | |
| - name: Setup Zig | |
| uses: mlugg/setup-zig@v2 | |
| with: | |
| version: "0.16.0" | |
| - name: Run tests | |
| run: make test | |