CI: Always build minified token lists.

This commit is contained in:
parazyd
2022-04-26 23:04:50 +02:00
parent fd99ac4720
commit 75218d29b7
2 changed files with 5 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ jobs:
- name: Install dependencies (Linux)
run: |
sudo apt update
sudo apt -y install build-essential clang libclang-dev llvm-dev libudev-dev pkg-config
sudo apt -y install jq build-essential clang libclang-dev llvm-dev libudev-dev pkg-config
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (macOS)

View File

@@ -30,13 +30,13 @@ $(BINS): token_lists $(BINDEPS)
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) build --all-features --release --package $@
cp -f target/release/$@ $@
check:
check: token_lists
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) hack check --release --feature-powerset --all
fix:
fix: token_lists:
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) clippy --release --all-features --fix --allow-dirty --all
clippy:
clippy: token_lists:
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) clippy --release --all-features --all
# zkas source files which we want to compile for tests
@@ -46,7 +46,7 @@ VM_BIN = $(VM_SRC:=.bin)
$(VM_BIN): zkas $(VM_SRC)
./zkas $(basename $@) -o $@
test: $(VM_BIN) test-tx
test: token_lists $(VM_BIN) test-tx
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) test --release --all-features --all
test-tx: