Skip to content

chore: update macos runner version and avoid using old dfx versions #180

chore: update macos runner version and avoid using old dfx versions

chore: update macos runner version and avoid using old dfx versions #180

name: rust-simd
on:
push:
branches:
- master
pull_request:
paths:
- rust/simd/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-simd-example.yaml
- .ic-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-simd-example-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust SIMD Darwin
run: |
dfx start --background
pushd rust/simd
make test
popd
rust-simd-example-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Remove networks.json
run: rm -f ~/.config/dfx/networks.json
- name: Rust SIMD Linux
run: |
dfx start --background
pushd rust/simd
make test
popd