Procházet zdrojové kódy

CI: Always build minified token lists.

parazyd před 4 roky
rodič
revize
75218d29b7
2 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 1 1
      .github/workflows/ci.yml
  2. 4 4
      Makefile

+ 1 - 1
.github/workflows/ci.yml

@@ -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)

+ 4 - 4
Makefile

@@ -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: