Skip to content

chore: migrate Ninja projects here #6

chore: migrate Ninja projects here

chore: migrate Ninja projects here #6

name: rust-hello-world
on:
push:
branches:
- master
pull_request:
paths:
- rust/hello_world/**
- .github/workflows/provision-darwin.sh
- .github/workflows/provision-linux.sh
- .github/workflows/rust-hello-world-example.yml
- .ic-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust-hello-world-darwin:
runs-on: macos-15
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
run: bash .github/workflows/provision-darwin.sh
- name: Rust Hello Darwin
run: |
dfx start --background
pushd rust/hello_world
make test
popd
rust-hello-world-linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: Provision Linux
run: bash .github/workflows/provision-linux.sh
- name: Rust Hello Linux
run: |
dfx start --background
pushd rust/hello_world
make test
popd