Split static into debug and release #4458
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
name: Miri test | |
on: | |
push: | |
jobs: | |
run-miri: | |
runs-on: ubuntu-latest | |
env: | |
CARGO_TERM_COLOR: always | |
PROPTEST_CASES: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Rust | |
run: | | |
set -e | |
rustup set profile minimal | |
rustup toolchain install nightly-2024-10-21 --component miri | |
rustup default nightly-2024-10-21 | |
- name: Install Protoc Binary | |
shell: bash | |
run: chmod +x ./scripts/install-protoc.sh && ./scripts/install-protoc.sh $HOME | |
- uses: taiki-e/install-action@v2 | |
with: | |
tool: [email protected] | |
- run: MIRIFLAGS="-Zmiri-disable-isolation" cargo miri nextest run | |
# We need to disable isolation because | |
# "unsupported operation: `clock_gettime` with `REALTIME` clocks not available when isolation is enabled" |