From 0be5142a28cb5d126b66273c3118536eaa008a27 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Fri, 4 Jun 2021 19:29:44 +0200 Subject: [PATCH] Update CI --- .github/workflows/build.yml | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0ccb55..f3537d1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,6 @@ on: push: pull_request: - schedule: - - cron: 0 0 * * 0 name: Build @@ -15,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: [stable, beta, nightly, 1.31.0] + rust: [stable, 1.31.0] TARGET: - x86_64-unknown-linux-gnu - x86_64-unknown-linux-musl @@ -27,11 +25,6 @@ jobs: - thumbv7em-none-eabihf - thumbv7m-none-eabi - include: - # Test nightly but don't fail - - rust: nightly - experimental: true - steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 @@ -62,7 +55,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: [stable, beta] + rust: [stable] TARGET: - x86_64-unknown-linux-gnu @@ -92,7 +85,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: [1.31.0] + rust: [1.52.1] TARGET: - x86_64-unknown-linux-gnu @@ -116,11 +109,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust: [stable, beta, nightly] + rust: [stable, beta] TARGET: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl] - include: - - rust: nightly - experimental: true steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 @@ -136,13 +126,6 @@ jobs: command: test args: --target=${{ matrix.TARGET }} - - name: Build examples - uses: actions-rs/cargo@v1 - if: contains(matrix.TARGET, 'x86_64') - with: - command: build - args: --target=${{ matrix.TARGET }} --examples - coverage: name: Coverage runs-on: ubuntu-latest @@ -165,4 +148,4 @@ jobs: uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: './lcov.info' \ No newline at end of file + path-to-lcov: './lcov.info'