From a8bd7e6c06c422cdc273455e025a8f34b284ea4c Mon Sep 17 00:00:00 2001 From: Vindaar Date: Thu, 11 Jul 2024 16:40:33 +0200 Subject: [PATCH] update CI so that it can work on OSX (maybe?) --- .github/workflows/ci.yml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86ffc5f..ee7da8d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,32 +17,31 @@ on: jobs: build: + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - #branch: [version-1-2, version-1-4, devel] - branch: [version-1-6, devel] - target: [linux, macos, windows] - include: - - target: linux - builder: ubuntu-latest - - target: macos - builder: macos-latest - - target: windows - builder: windows-latest - name: '${{ matrix.target }} (${{ matrix.branch }})' - runs-on: ${{ matrix.builder }} + nim: + - '1.6.x' + - '2.0.x' + - 'devel' + os: + - ubuntu-latest + - windows-latest + - macOS-latest + name: '${{ matrix.nim }} (${{ matrix.os }})' steps: - name: Checkout uses: actions/checkout@v2 with: path: unchained - - name: Setup Nim - uses: alaviss/setup-nim@0.1.1 + + - name: Setup nim + uses: jiro4989/setup-nim-action@v1 with: - path: nim - version: ${{ matrix.branch }} + nim-version: ${{ matrix.nim }} + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup MSYS2 (Windows) if: ${{matrix.target == 'windows'}}