mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
CI: Always build minified token lists.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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)
|
||||
|
||||
8
Makefile
8
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:
|
||||
|
||||
Reference in New Issue
Block a user