From 0201b96cf50c9b44cb98a80ce9a809d94afa8df0 Mon Sep 17 00:00:00 2001 From: Regis Caillaud Date: Mon, 19 Aug 2024 10:05:43 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5ee284..e90167b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,13 +8,27 @@ on: - master jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + nim: + - '1.6.x' + - '2.0.x' + - 'stable' + os: + - ubuntu-latest + - windows-latest + - macOS-latest tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: "install_nim" - id: install_nim - uses: iffy/install-nim@v3 + - name: Setup nim + uses: jiro4989/setup-nim-action@v2 + with: + nim-version: ${{ matrix.nim }} + repo-token: ${{ secrets.GITHUB_TOKEN }} - run: nimble install -y - run: testament p "tests/t*.nim" - run: nimble test