Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ionizing committed Jul 2, 2022
1 parent d49a0d8 commit 58b903c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
container: centos:7
steps:
- uses: actions/checkout@v2
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
export PATH="$HOME/.cargo/bin:${PATH}"
rustup target add x86_64-unknown-linux-musl
- name: Build
run: cargo build --verbose --release
- name: Run tests
Expand Down

0 comments on commit 58b903c

Please sign in to comment.