mirror of
https://github.com/logos-storage/nim-circom-compat.git
synced 2026-01-03 14:13:09 +00:00
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
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
|