summaryrefslogtreecommitdiff
path: root/.woodpecker.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.woodpecker.yaml')
-rw-r--r--.woodpecker.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.woodpecker.yaml b/.woodpecker.yaml
index c3cc1ab..4de9fdc 100644
--- a/.woodpecker.yaml
+++ b/.woodpecker.yaml
@@ -35,13 +35,13 @@ jobs:
run: cargo fmt --all -- --check
- name: Lint with clippy
- run: cargo clippy -- -D warnings
+ run: cargo clippy --jobs 2 -- -D warnings
- name: Build
- run: cargo build --verbose
+ run: cargo build --verbose --release --jobs 2
- name: Run tests
- run: cargo test --verbose
+ run: cargo test --verbose --jobs 2
build-cross:
runs-on: ubuntu-latest
@@ -79,7 +79,7 @@ jobs:
if: matrix.target == 'aarch64-unknown-linux-gnu'
- name: Build for ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }} --release --verbose
+ run: cargo build --target ${{ matrix.target }} --release --verbose --jobs 2
# release:
# runs-on: ubuntu-latest