diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..0f36031 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +on: + push: + pull_request: + +jobs: + test: + strategy: + matrix: + os: + - windows-latest + - macos-latest + - ubuntu-latest + nimversion: + - devel + - stable + + name: ${{ matrix.os }} - ${{ matrix.nimversion }} + runs-on: ${{ matrix.os }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v4 + - uses: jiro4989/setup-nim-action@v1 + with: + nim-version: ${{ matrix.nimversion }} + - run: nimble productionBuild