Skip to content

Commit

Permalink
Fix workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Mar 11, 2024
1 parent ae1ded9 commit e25ddbe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
submodules: "recursive"
- name: Setup Rust
run: rustup toolchain install stable --profile minimal --no-self-update
# - name: Configure sccache
# run: |
# echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
# echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
# echo "RUSTFLAGS='--cfg profile=ci-build'" >> $GITHUB_ENV
- name: Run sccache-cache
- name: Configure sccache
run: |
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUSTFLAGS='--cfg profile=ci-build'" >> $GITHUB_ENV
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Cache cargo deps
uses: Swatinem/rust-cache@v2
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ strip = true
panic = "unwind"

[profile.ci-build]
inherits = "release"
opt-level = 2
codegen-units = 8

0 comments on commit e25ddbe

Please sign in to comment.