Skip to content

Commit

Permalink
update ci jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Oct 13, 2020
1 parent ff1753e commit f5d4e3d
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,11 @@ jobs:
- run: apt-cache search opencl
- run: sudo apt install -y ocl-icd-opencl-dev
- run:
name: Run cargo clippy
command: cargo clippy --all-features
name: Run cargo clippy (pairing)
command: cargo clippy --no-default-features --features pairing,gpu
- run:
name: Run cargo clippy (blst)
command: cargo clippy --no-default-features --features blst,gpu

build:
executor: default
Expand All @@ -117,8 +120,15 @@ jobs:
- run: echo 'export PATH="$HOME:~/.cargo/bin:$PATH"' >> $BASH_ENV
- run: source $BASH_ENV
- run:
name: Run cargo release build
command: cargo build --release
name: Run cargo release build (pairing)
command: cargo build --release --no-default-features --features pairing
- run:
name: Run cargo release build (blst)
command: cargo build --release --no-default-features --features blst
- run:
name: Run cargo release build (gpu)
command: cargo build --release --features gpu


benches:
executor: default
Expand All @@ -131,8 +141,11 @@ jobs:
- run: apt-cache search opencl
- run: sudo apt install -y ocl-icd-opencl-dev
- run:
name: Run cargo build --benches
command: cargo build --benches --all-features --all --release
name: Run cargo build --benches (pairing)
command: cargo build --benches --no-default-features --features pairing --all --release
- run:
name: Run cargo build --benches (blst)
command: cargo build --benches --no-default-features --features blst --all --release

workflows:
version: 2.1
Expand Down

0 comments on commit f5d4e3d

Please sign in to comment.