Skip to content

- added some testing results as a comment to clarify motivation for u… #5

- added some testing results as a comment to clarify motivation for u…

- added some testing results as a comment to clarify motivation for u… #5

name: Windows Tests
on:
push:
paths:
- 'tests/**'
- 'src/**'
- '.github/workflows/testingOnPush_Windows.yaml'
workflow_dispatch:
jobs:
test:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '2.0.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install nimCSO (and dependencies)
run: nimble install -y
- name: Compile minCSO
run: nim c -d:release src/nimcso
- name: Runtime tests of benchmarks under release mode
run: nim c -r -f -d:release -d:configPath=tests/testConfig1.yaml tests/benchmarksRuntime
- name: Runtime tests of benchmarks under danger mode
run: nim c -r -f -d:danger -d:configPath=tests/testConfig1.yaml tests/benchmarksRuntime
- name: Brute Force under release mode (has to work)
run: nim c -r -f -d:release -d:configPath=tests/testConfig1.yaml tests/bruteForce
- name: Brute Force under danger mode (should work)
run: nim c -r -f -d:danger -d:configPath=tests/testConfig1.yaml tests/bruteForce