-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
nim:
- '1.6.18'
- '1.6.14'
os:
- ubuntu-latest
- windows-latest
- macOS-latest
name: Build nim circom compat ${{ matrix.nim }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set rust ${{ matrix.os }}
if: matrix.os == 'windows-latest'
run: |
rustup set default-host x86_64-pc-windows-gnu
rustup update stable && rustup default stable
- name: Set rust ${{ matrix.os }}
if: matrix.os != 'windows-latest'
run: rustup update stable && rustup default stable
- name: Setup nim
uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.nim }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble install -y
- run: nimble test -y