Skip to content

Commit

Permalink
update CI so that it can work on OSX (maybe?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vindaar committed Jul 11, 2024
1 parent a70e7df commit a8bd7e6
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}}
Expand Down

0 comments on commit a8bd7e6

Please sign in to comment.