Replaced PathError with PathResolutionError #55
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: Rust-CI | |
on: | |
push: {} | |
pull_request: {} | |
workflow_dispatch: {} | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-debug: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: 1.70.0 | |
- name: Debug Build | |
run: cd lib && cargo build --verbose | |
build-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: 1.70.0 | |
- name: Release Build | |
run: cd lib && cargo build --release --verbose | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: 1.70.0 | |
- name: Install wasm32 | |
run: rustup target add wasm32-unknown-unknown | |
- name: Install trunk | |
run: cargo install --locked trunk | |
- name: Run tests | |
run: make test | |
build-debug-1_64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: 1.70.0 | |
- name: Debug Build | |
run: cd lib && cargo build --verbose --features once_cell | |
build-release-1_64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: 1.64.0 | |
- name: Release Build | |
run: cd lib && cargo build --release --verbose --features once_cell | |
test-1_64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: 1.64.0 | |
- name: Install wasm32 | |
run: rustup target add wasm32-unknown-unknown | |
- name: Run lib tests | |
run: make test-lib-once_cell |