-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a7fe01
commit 228edd1
Showing
1 changed file
with
14 additions
and
25 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,20 @@ jobs: | |
override: true | ||
profile: minimal | ||
|
||
- name: Install system dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt-get install -y \ | ||
sudo\ | ||
lsb-release\ | ||
cmake\ | ||
wget\ | ||
curl\ | ||
- name: Perform Build | ||
run: | | ||
cargo build --release | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
# The prefix cache key, this can be changed to start a new cache manually. | ||
|
@@ -80,28 +94,3 @@ jobs: | |
# Can be set to either "github" or "buildjet" | ||
# default: "github" | ||
cache-provider: "github" | ||
|
||
|
||
- name: Cache Rust dependencies | ||
uses: actions/[email protected] | ||
with: | ||
path: | | ||
~/.cargo | ||
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-rust- | ||
|
||
- name: Install system dependencies | ||
run: | | ||
sudo apt update | ||
sudo apt-get install -y \ | ||
sudo\ | ||
lsb-release\ | ||
cmake\ | ||
wget\ | ||
curl\ | ||
- name: Perform Build | ||
run: | | ||
cargo build --release |