-
Notifications
You must be signed in to change notification settings - Fork 15
31 lines (29 loc) · 906 Bytes
/
Copy pathbuild.yml
File metadata and controls
31 lines (29 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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