From 0126163ca5f25c1cddbbfcd1227890f86f08ebde Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Wed, 13 Jul 2022 18:52:37 -0700 Subject: [PATCH] Enable 'rust-src' component in CI. This fixes UI tests on Linux nightly. Without the `rust-src` component, an error message pointing to the core libraries is not emitted as expected. Presumably by making the sources available, the compiler has somewhere to point to. This commit also re-enables CI failures for the Linux debug target. --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5595f13d..a24e2e07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,6 @@ on: [push, pull_request] env: CARGO_TERM_COLOR: always - jobs: test: name: "${{ matrix.platform.name }} ${{ matrix.test.name }} (${{ matrix.platform.toolchain }})" @@ -30,10 +29,6 @@ jobs: runs-on: ${{ matrix.platform.distro }} - continue-on-error: ${{ matrix.platform.name == 'Linux' - && matrix.platform.toolchain == 'nightly' - && matrix.test.name == 'Debug' }} - steps: - name: Checkout Sources uses: actions/checkout@v2 @@ -69,6 +64,7 @@ jobs: profile: minimal toolchain: ${{ matrix.platform.toolchain }} override: true + components: rust-src - name: Cache Example Workspace if: matrix.test.name == 'Examples'