From 9f5fad1e3847c0bead91fcdbc8ca6636a95fe935 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 7 Mar 2022 21:48:42 +0100 Subject: [PATCH] add a job to build with rust nightly --- .github/workflows/CICD.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 6c98ae1ac..361a8c48b 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -459,6 +459,32 @@ jobs: command: test args: ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} + build_rust_nightly: + name: Build/nightly + needs: [ min_version, deps ] + runs-on: ${{ matrix.job.os }} + strategy: + fail-fast: false + matrix: + job: + - { os: ubuntu-latest , features: feat_os_unix } + - { os: macos-latest , features: feat_os_macos } + - { os: windows-latest , features: feat_os_windows } + steps: + - uses: actions/checkout@v2 + - uses: Swatinem/rust-cache@v1 + - name: Install `rust` toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + default: true + profile: minimal # minimal component installation (ie, no documentation) + - name: Test + uses: actions-rs/cargo@v1 + with: + command: test + args: ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} + compute_size: name: Binary sizes needs: [ min_version, deps ]