From cfd566b49a4e0fd04017040f894db0cf14b6b627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Tue, 15 Oct 2024 18:33:50 +0200 Subject: [PATCH] Adjust CI --- .github/workflows/ci.yaml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fc15a0d24..123e7d56c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,8 +21,6 @@ jobs: runs-on: ubuntu-latest strategy: fail-fast: false - matrix: - project: ["libsignal-service"] steps: - uses: actions/checkout@v3 - name: Install protobuf @@ -32,7 +30,6 @@ jobs: - uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - args: --features "${{ matrix.features }}" --manifest-path ${{ matrix.project }}/Cargo.toml build: name: Build (${{ matrix.project }}, Rust ${{ matrix.toolchain }}) @@ -43,7 +40,6 @@ jobs: project: ["libsignal-service"] toolchain: ["stable", "beta", "nightly"] coverage: [false, true] - features: ["", "unsend-futures"] exclude: # Coverage related excludes - toolchain: stable @@ -52,13 +48,6 @@ jobs: coverage: true - toolchain: nightly coverage: false - - # Feature flag related excludes - # Actix like above - - features: "unsend-futures" - toolchain: "beta" - - features: "unsend-futures" - toolchain: "nightly" steps: - uses: actions/checkout@v3 - name: Install protobuf @@ -75,20 +64,20 @@ jobs: if: ${{ !matrix.coverage }} with: command: test - args: --all-targets --no-fail-fast --features "${{ matrix.features }}" --manifest-path ${{ matrix.project }}/Cargo.toml + args: --all-targets --no-fail-fast - name: Build uses: actions-rs/cargo@v1 with: command: build - args: --all-targets --features "${{ matrix.features }}" --manifest-path ${{ matrix.project }}/Cargo.toml + args: --all-targets - name: Run tests uses: actions-rs/cargo@v1 if: ${{ matrix.coverage }} with: command: test - args: --all-targets --no-fail-fast --features "${{ matrix.features }}" --manifest-path ${{ matrix.project }}/Cargo.toml + args: --all-targets --no-fail-fast env: CARGO_INCREMENTAL: '0' RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'