From 7e395298f15200a5cffae191c357b04f16a470d0 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 30 Apr 2021 06:54:47 +1000 Subject: [PATCH] Just run builds on ubuntu stable But keep the tests across ubuntu, macOS, Windows x Rust stable, beta --- .github/workflows/ci.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d17065de..3ffad729 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,13 +112,10 @@ jobs: run: cargo build --verbose --no-default-features build: - name: Build (+${{ matrix.rust }}) on ${{ matrix.os }} + name: Build (+stable) on ubuntu-latest timeout-minutes: 60 - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - rust: [stable, beta] + runs-on: ubuntu-latest + env: CARGO_INCREMENTAL: 0 RUST_BACKTRACE: full @@ -127,15 +124,9 @@ jobs: - uses: actions/checkout@v1 - uses: actions-rs/toolchain@v1 with: - toolchain: ${{ matrix.rust }} + toolchain: stable profile: minimal override: true - - name: Install LLVM on Windows - if: matrix.os == 'windows-latest' - run: | - choco install llvm -y - echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - echo "LIBCLANG_PATH=C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - name: cargo fetch uses: actions-rs/cargo@v1 with: