Guard verified artifact writes with recovery checks
next-build / candidate (push) Successful in 5m2s
next-build / candidate (push) Successful in 5m2s
This commit is contained in:
@@ -31,7 +31,7 @@ jobs:
|
||||
bash scripts/build-wx-linux.sh
|
||||
fi
|
||||
- name: Build release candidate
|
||||
run: cargo build --release -p alkane-gui -p alkane-artifacts -p alkane-cli --offline
|
||||
run: cargo build --release -p alkane-gui -p alkane-artifacts -p alkane-flash -p alkane-cli --offline
|
||||
- name: Select candidate version
|
||||
id: version
|
||||
run: bash ci/compute-rc-version.sh >> "$GITHUB_OUTPUT"
|
||||
|
||||
@@ -62,6 +62,7 @@ jobs:
|
||||
run: |
|
||||
rustup component add clippy >/dev/null 2>&1 || true
|
||||
cargo clippy -p alkane-gui --no-deps --release --bins --offline -- -D warnings
|
||||
cargo clippy -p alkane-artifacts -p alkane-flash -p alkane-cli --all-targets --offline -- -D warnings
|
||||
|
||||
- name: Set crate version to ${{ steps.ver.outputs.version }}
|
||||
if: steps.ver.outputs.release == 'true'
|
||||
@@ -76,7 +77,7 @@ jobs:
|
||||
- name: Unit tests
|
||||
run: |
|
||||
cargo test -p alkane-gui --offline
|
||||
cargo test -p alkane-artifacts -p alkane-cli --offline
|
||||
cargo test -p alkane-artifacts -p alkane-flash -p alkane-cli --offline
|
||||
|
||||
- name: Load previous main benchmark measurement
|
||||
env:
|
||||
|
||||
@@ -44,6 +44,7 @@ jobs:
|
||||
run: |
|
||||
rustup component add clippy >/dev/null 2>&1 || true
|
||||
cargo clippy -p alkane-gui --no-deps --release --bins --offline -- -D warnings
|
||||
cargo clippy -p alkane-artifacts -p alkane-flash -p alkane-cli --all-targets --offline -- -D warnings
|
||||
|
||||
- name: Build
|
||||
run: cargo build --release -p alkane-gui --offline
|
||||
@@ -51,7 +52,7 @@ jobs:
|
||||
- name: Unit tests
|
||||
run: |
|
||||
cargo test -p alkane-gui --offline
|
||||
cargo test -p alkane-artifacts -p alkane-cli --offline
|
||||
cargo test -p alkane-artifacts -p alkane-flash -p alkane-cli --offline
|
||||
|
||||
- name: Microbenchmarks
|
||||
run: cargo test -p alkane-gui -p alkane-artifacts --release --offline -- --ignored --nocapture bench_
|
||||
|
||||
Reference in New Issue
Block a user