diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ccec2385..a5a93eae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: 1.79 + - run: perl -pi.bak -e 's/opt-level = 2/opt-level = 0/g' Cargo.toml - run: sudo apt install libgtk-3-dev libxdo-dev - run: cargo build --workspace @@ -39,6 +40,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - run: perl -pi.bak -e 's/opt-level = 2/opt-level = 0/g' Cargo.toml - run: sudo apt install libgtk-3-dev libxdo-dev - run: cargo build --workspace - run: cargo test --workspace @@ -63,6 +65,7 @@ jobs: with: toolchain: nightly components: clippy + - run: perl -pi.bak -e 's/opt-level = 2/opt-level = 0/g' Cargo.toml - run: sudo apt install libgtk-3-dev libxdo-dev - run: cargo clippy --workspace -- -D warnings @@ -89,7 +92,7 @@ jobs: cross: false, command: "test", args: "--all --tests", - setup: "" + setup: perl -pi.bak -e 's/opt-level = 2/opt-level = 0/g' Cargo.toml } - { target: x86_64-apple-darwin, @@ -97,7 +100,7 @@ jobs: cross: false, command: "test", args: "--all --tests", - setup: "" + setup: perl -pi.bak -e 's/opt-level = 2/opt-level = 0/g' Cargo.toml } - { target: x86_64-unknown-linux-gnu, @@ -111,7 +114,8 @@ jobs: libgtk-3-dev \ libudev-dev \ libpango1.0-dev \ - libxdo-dev" + libxdo-dev; + perl -pi.bak -e 's/opt-level = 2/opt-level = 0/g' Cargo.toml" } steps: