From 70474898e1df08b488c5dded24ae228573b2f189 Mon Sep 17 00:00:00 2001 From: grzi Date: Tue, 9 Mar 2021 11:10:41 +0100 Subject: [PATCH] fix: removed nightly and set dep to what miniquad needs --- .github/workflows/ci.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae12867..f577708 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,15 +20,15 @@ jobs: strategy: fail-fast: true matrix: - os: [macos-latest, windows-latest, ubuntu-18.04] - toolchain: [stable, beta, nightly] + os: [macos-latest, windows-latest, ubuntu-latest] + toolchain: [stable, beta] steps: - uses: actions/checkout@v2 - name: install linux deps run: | sudo apt update - sudo apt install gcc pkg-config openssl libasound2-dev cmake build-essential python3 libfreetype6-dev libexpat1-dev libxcb-composite0-dev libssl-dev libx11-dev pulseaudio + sudo apt install gcc cmake build-essential libx11-dev libxi-dev libgl1-mesa-dev if: contains(matrix.os, 'ubuntu') - name: install ${{ matrix.toolchain }} toolchain @@ -42,13 +42,6 @@ jobs: - uses: seanmiddleditch/gha-setup-ninja@master if: matrix.os == 'windows-latest' - - run: rustup component add rustfmt - if: matrix.toolchain == 'nightly' && matrix.os == 'ubuntu-latest' - - - run: cargo +nightly fmt --all -- --check - if: matrix.toolchain == 'nightly' && matrix.os == 'ubuntu-latest' - - - run: rustup component add clippy - if: matrix.toolchain == 'nightly' + - run: cargo check --workspace --all-features --all-targets - run: cargo test --workspace --all-features --all-targets \ No newline at end of file