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.
This commit is contained in:
Sergio Benitez 2022-07-13 18:52:37 -07:00
parent 8d8367e32b
commit 0126163ca5
1 changed files with 1 additions and 5 deletions

View File

@ -5,7 +5,6 @@ on: [push, pull_request]
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
jobs: jobs:
test: test:
name: "${{ matrix.platform.name }} ${{ matrix.test.name }} (${{ matrix.platform.toolchain }})" name: "${{ matrix.platform.name }} ${{ matrix.test.name }} (${{ matrix.platform.toolchain }})"
@ -30,10 +29,6 @@ jobs:
runs-on: ${{ matrix.platform.distro }} runs-on: ${{ matrix.platform.distro }}
continue-on-error: ${{ matrix.platform.name == 'Linux'
&& matrix.platform.toolchain == 'nightly'
&& matrix.test.name == 'Debug' }}
steps: steps:
- name: Checkout Sources - name: Checkout Sources
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -69,6 +64,7 @@ jobs:
profile: minimal profile: minimal
toolchain: ${{ matrix.platform.toolchain }} toolchain: ${{ matrix.platform.toolchain }}
override: true override: true
components: rust-src
- name: Cache Example Workspace - name: Cache Example Workspace
if: matrix.test.name == 'Examples' if: matrix.test.name == 'Examples'