Skip to content

Commit a8bd7e6

Browse files
committed
update CI so that it can work on OSX (maybe?)
1 parent a70e7df commit a8bd7e6

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

.github/workflows/ci.yml

+15-16
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,31 @@ on:
1717

1818
jobs:
1919
build:
20+
runs-on: ${{ matrix.os }}
2021
strategy:
2122
fail-fast: false
2223
matrix:
23-
#branch: [version-1-2, version-1-4, devel]
24-
branch: [version-1-6, devel]
25-
target: [linux, macos, windows]
26-
include:
27-
- target: linux
28-
builder: ubuntu-latest
29-
- target: macos
30-
builder: macos-latest
31-
- target: windows
32-
builder: windows-latest
33-
name: '${{ matrix.target }} (${{ matrix.branch }})'
34-
runs-on: ${{ matrix.builder }}
24+
nim:
25+
- '1.6.x'
26+
- '2.0.x'
27+
- 'devel'
28+
os:
29+
- ubuntu-latest
30+
- windows-latest
31+
- macOS-latest
32+
name: '${{ matrix.nim }} (${{ matrix.os }})'
3533
steps:
3634
- name: Checkout
3735
uses: actions/checkout@v2
3836
with:
3937
path: unchained
4038

41-
- name: Setup Nim
42-
uses: alaviss/[email protected]
39+
40+
- name: Setup nim
41+
uses: jiro4989/setup-nim-action@v1
4342
with:
44-
path: nim
45-
version: ${{ matrix.branch }}
43+
nim-version: ${{ matrix.nim }}
44+
repo-token: ${{ secrets.GITHUB_TOKEN }}
4645

4746
- name: Setup MSYS2 (Windows)
4847
if: ${{matrix.target == 'windows'}}

0 commit comments

Comments
 (0)