Version 3: Match matrix. #324
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: Github Actions | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| nim-version: ['1.4.0', '2.0.0', '2.2.4'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: treeform/setup-nim-action@v2 | |
| with: | |
| nim-version: ${{ matrix.nim-version }} | |
| - run: nim r tests/test_quaternion.nim | |
| - run: nim r --gc:arc tests/test_quaternion.nim | |
| - run: nim r -d:vmathObjBased tests/test_quaternion.nim | |
| - run: nim r -d:vmathArrayBased tests/test_quaternion.nim | |
| - run: nim js -r tests/test_quaternion.nim | |
| - run: nim r tests/test.nim | |
| - run: nim r --gc:arc tests/test.nim | |
| - run: nim r -d:vmathObjBased tests/test.nim | |
| - run: nim r -d:vmathArrayBased tests/test.nim | |
| - run: nim js -r tests/test.nim |