-
Notifications
You must be signed in to change notification settings - Fork 5
54 lines (52 loc) · 1.63 KB
/
Copy pathtestingOnPush_Apple.yaml
File metadata and controls
54 lines (52 loc) · 1.63 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: MacOS Tests
on:
push:
paths:
- 'tests/**'
- 'nimplex.nim'
- 'nimplex.nimble'
- '.github/workflows/testingOnPush_Apple.yaml'
workflow_dispatch:
jobs:
test-Intel:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nim with Homebrew
run: brew install nim
- name: Install dependencies
run: nimble install -y arraymancer nimpy
- name: Compile nimplex
run: nim c -d:release nimplex.nim
- name: Run grid tests
run: nim c -r -d:release tests/grid.nim
- name: Run graph tests
run: nim c -r -d:release tests/graph.nim
- name: Run limited graph tests
run: nim c -r -d:release tests/limitedgraph.nim
- name: Run CLI tests
run: nim c -r -d:release tests/cli.nim
- name: Run stitching tests
run: nim c -r -d:release tests/stitching.nim
test-M1:
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nim with Homebrew
run: brew install nim
- name: Install dependencies
run: nimble install -y arraymancer nimpy
- name: Compile nimplex
run: nim c -d:release nimplex.nim
- name: Run grid tests
run: nim c -r -d:release tests/grid.nim
- name: Run graph tests
run: nim c -r -d:release tests/graph.nim
- name: Run limited graph tests
run: nim c -r -d:release tests/limitedgraph.nim
- name: Run CLI tests
run: nim c -r -d:release tests/cli.nim
- name: Run stitching tests
run: nim c -r -d:release tests/stitching.nim