Skip to content

Commit

Permalink
Remove nim2 from base testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroCabeza committed Jun 6, 2024
1 parent 9d83583 commit 5dba696
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/base_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
shell: msys2 {0}
nim-branch:
- version-1-6
- version-2-0
# If exclude or include are defined use their value, otherwise default to empty list (as declared on workflow_call.inputs).
# Reason for above is when workflow is not initiated by workflow_call, the parameters are not defined. Their value is 0 or '' (empty string).
# This relies on the value 0 meaning the parameter was not filled in.
Expand All @@ -67,7 +66,7 @@ jobs:

name: '${{ matrix.platform.os }}-${{ matrix.platform.cpu }} (Nim ${{ matrix.nim-branch }})'
runs-on: ${{ matrix.platform.builder }}
continue-on-error: ${{ matrix.nim-branch == 'version-2-0' }}
continue-on-error: ${{ matrix.nim-branch == 'version-2-0' || matrix.nim-branch == 'devel' }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@ jobs:
name: Daily amd64
uses: ./.github/workflows/base_tests.yml
with:
exclude: "[{'platform': {'cpu': 'amd64'}}]"
include: "[{'nim-branch': 'version-2-0'}]"
exclude: "[{'platform': {'cpu': 'i386'}}]"

test_i386:
name: Daily i386
uses: ./.github/workflows/base_tests.yml
with:
exclude: "[{'platform': {'cpu': 'i386'}}]"
exclude: "[{'platform': {'cpu': 'amd64'}}]"

test_nim_devel:
name: Daily
uses: ./.github/workflows/base_tests.yml
with:
include: "[{'nim-branch': ['devel']}]"
exclude: "[{'platform': {'os': 'linux', 'cpu': 'amd64'}}]"
include: "[{'nim-branch': 'devel'}]"
exclude: "[{'platform': {'os': 'windows'}}, {'platform': {'os': 'macos'}}, {'platform': {'cpu': 'i386'}}]"

0 comments on commit 5dba696

Please sign in to comment.