Skip to content

Commit

Permalink
replace actions-rs with dtolnay's
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-xiaoming committed Nov 5, 2022
1 parent 43ee002 commit 73f6646
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,15 @@ jobs:
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
# Rust
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
uses: dtolnay/rust-toolchain@${{ matrix.rust }}
# Test
- name: Cargo Test (Dynamic)
uses: actions-rs/cargo@v1
env:
LIBCLANG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/lib
LLVM_CONFIG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/bin/llvm-config
with:
command: test
args: --verbose --features ${{ matrix.clang[1] }} -- --nocapture
run: cargo test --verbose --features ${{ matrix.clang[1] }} -- --nocapture
- name: Cargo Test (Runtime)
uses: actions-rs/cargo@v1
env:
LIBCLANG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/lib
LLVM_CONFIG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/bin/llvm-config
with:
command: test
args: --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture
run: cargo test --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture

0 comments on commit 73f6646

Please sign in to comment.