diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b47ea3e..45f3e54 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -43,13 +43,14 @@ jobs: run: cargo clippy --all-features -- -D warnings test: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: taiki-e/install-action@v2 with: tool: cargo-all-features + - run: sudo apt-get -y install libfontconfig1-dev jq - name: Test run: cargo test-all-features @@ -76,20 +77,22 @@ jobs: run: cargo msrv --output-format minimal verify run_examples: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - run: sudo apt-get -y install libfontconfig1-dev jq - name: Run examples run: cargo run --example plot coverage: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: llvm-tools-preview + - run: sudo apt-get -y install libfontconfig1-dev jq - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov - name: Generate lockfile