diff options
author | 2024-04-07 13:48:23 +0200 | |
---|---|---|
committer | 2024-04-07 13:48:23 +0200 | |
commit | 5e01d767c5ef8a35937675d4e8f02b4c678a5da2 (patch) | |
tree | 8778af50f4fcbd35275ba2c0437086e85778dd34 /.github | |
parent | bcd6873b37ed63ade9743900cdae8e8619299eb2 (diff) | |
download | iced-5e01d767c5ef8a35937675d4e8f02b4c678a5da2.tar.gz iced-5e01d767c5ef8a35937675d4e8f02b4c678a5da2.tar.bz2 iced-5e01d767c5ef8a35937675d4e8f02b4c678a5da2.zip |
Check benchmarks only instead of testing them in CI
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/check.yml | 14 | ||||
-rw-r--r-- | .github/workflows/test.yml | 4 |
2 files changed, 13 insertions, 5 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4107e618..79fa7be6 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,13 +1,13 @@ name: Check on: [push, pull_request] jobs: - widget: + benchmarks: runs-on: ubuntu-latest steps: - uses: hecrj/setup-rust-action@v2 - uses: actions/checkout@master - - name: Check standalone `iced_widget` crate - run: cargo check --package iced_widget --features image,svg,canvas + - name: Check benchmarks + run: cargo check --benches --all-features wasm: runs-on: ubuntu-latest @@ -27,3 +27,11 @@ jobs: run: cargo build --package todos --target wasm32-unknown-unknown - name: Check compilation of `integration` example run: cargo build --package integration --target wasm32-unknown-unknown + + widget: + runs-on: ubuntu-latest + steps: + - uses: hecrj/setup-rust-action@v2 + - uses: actions/checkout@master + - name: Check standalone `iced_widget` crate + run: cargo check --package iced_widget --features image,svg,canvas diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c48b8b5b..47c61f5e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,5 +22,5 @@ jobs: sudo apt-get install -y libxkbcommon-dev libgtk-3-dev - name: Run tests run: | - cargo test --verbose --workspace --benches - cargo test --verbose --workspace --benches --all-features + cargo test --verbose --workspace + cargo test --verbose --workspace --all-features |