-
-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raw-rs: Remove from workspace (#2066)
* Remove raw-rs from workspace * Add feature blocking to reqwest * Use release build to run the tests * Split Raw-rs CI into a seperate workflow * Fix cargo-deny check for Raw-rs * Only run the CI if Raw-rs changes * Enable clippy check for Raw-rs * Add newline in clippy check * Fixups * Use ubuntu-latest * Remove mold * Install sccache * Attempt 2 * Attempt 3 * Add emoji for consistency --------- Co-authored-by: Keavon Chambers <[email protected]>
- Loading branch information
1 parent
36fe9bf
commit 9d13a8f
Showing
9 changed files
with
2,237 additions
and
87 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
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
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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: "Library: Raw-rs" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- "libraries/raw-rs/**" | ||
pull_request: | ||
branches: | ||
- master | ||
paths: | ||
- "libraries/raw-rs/**" | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
env: | ||
SCCACHE_GHA_ENABLED: "true" | ||
RUSTC_WRAPPER: "sccache" | ||
CARGO_INCREMENTAL: 0 | ||
SCCACHE_DIR: /var/lib/github-actions/.cache | ||
|
||
steps: | ||
- name: 📥 Clone and checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: 🦀 Install the latest Rust | ||
run: | | ||
echo "Initial system version:" | ||
rustc --version | ||
rustup update stable | ||
echo "Latest updated version:" | ||
rustc --version | ||
- name: 📦 Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
|
||
- name: 🔬 Check Rust formatting | ||
run: | | ||
cd libraries/raw-rs | ||
cargo fmt --all -- --check | ||
- name: 🦀 Build Rust code | ||
run: | | ||
cd libraries/raw-rs | ||
cargo build --release --all-features | ||
- name: 🧪 Run Rust tests | ||
run: | | ||
cd libraries/raw-rs | ||
cargo test --release --all-features | ||
- name: 📈 Run sccache stat for check | ||
shell: bash | ||
run: sccache --show-stats |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.