Skip to content

Commit 233788a

Browse files
committed
- workflow improvements for testing (incl. M1 Macs)
1 parent 619ef62 commit 233788a

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

.github/workflows/testingOnPush_Apple.yaml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,25 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
test:
13-
runs-on: macos-latest
12+
test-Intel:
13+
runs-on: macos-12
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
- name: Install Nim with Homebrew
18+
run: brew install nim
19+
- name: Install dependencies
20+
run: nimble install -y arraymancer nimpy
21+
- name: Compile nimplex
22+
run: nim c -d:release nimplex.nim
23+
- name: Run grid tests
24+
run: nim c -r -d:release tests/grid.nim
25+
- name: Run graph tests
26+
run: nim c -r -d:release tests/graph.nim
27+
- name: Run CLI tests
28+
run: nim c -r -d:release tests/cli.nim
29+
test-M1:
30+
runs-on: macos-14
1431
steps:
1532
- name: Checkout
1633
uses: actions/checkout@v3

.github/workflows/testingOnPush_Windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-latest
13+
runs-on: windows-latest
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v3

0 commit comments

Comments
 (0)