- added nimplex
's nimble
file (specifying dependencies) to the te…
#55
This file contains 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: 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 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 CLI tests | |
run: nim c -r -d:release tests/cli.nim | |
- name: Run stitching tests | |
run: nim c -r -d:release tests/stitching.nim |