From 8962e14cea8d3ef49dfa92712a090a030ee3f85e Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Tue, 8 Nov 2022 12:24:47 +0100 Subject: [PATCH] [ci] Separate build job for Nim 1.2 --- .github/workflows/ci.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34f9f293..a185cd2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,6 @@ jobs: matrix: cache_nonce: [ 0 ] # Allows for easily busting actions/cache caches os: [linux, macos, windows] - nim_branch: [version-1-2, version-1-6] include: - os: linux builder: ubuntu-latest @@ -29,7 +28,7 @@ jobs: run: shell: ${{ matrix.shell }} {0} - name: '${{ matrix.os }}-(Nim ${{ matrix.nim_branch }})' + name: '${{ matrix.os }}' runs-on: ${{ matrix.builder }} timeout-minutes: 80 steps: @@ -40,7 +39,6 @@ jobs: uses: ./.github/actions/nimbus-build-system with: os: ${{ matrix.os }} - nim_branch: ${{ matrix.nim_branch }} shell: ${{ matrix.shell }} cache_nonce: ${{ matrix.cache_nonce }} @@ -87,3 +85,18 @@ jobs: flags: unittests name: codecov-umbrella verbose: true + + nim_1_2: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v3 + + - name: Setup Nimbus Build System + uses: ./.github/actions/nimbus-build-system + with: + os: linux + nim_branch: version-1-2 + + - name: Unit tests + run: make -j${ncpu} test