fix: crate_type
-> crate-type
warning
#486
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Nim bindings | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Run compile script | |
run: ./scripts/compile.sh nim | |
shell: bash | |
- name: Setup Nim | |
uses: jiro4989/setup-nim-action@v1 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
nim-version: 'stable' | |
- name: Install Nimble dependencies | |
working-directory: bindings/nim/nim_code | |
run: nimble install -Y | |
- name: Test Nim project | |
working-directory: bindings/nim/nim_code | |
run: nimble test -Y |