Skip to content

Commit

Permalink
Update clang CI: set env
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 committed Sep 4, 2023
1 parent 550831a commit d721697
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,20 @@ jobs:
solana-keygen new --force --no-bip39-passphrase
- name: Build contract with clang
run: make -f Makefile.clang all
env:
CC: clang-16
LD: ld.lld-16
OBJCOPY: llvm-objcopy-16
AR: llvm-ar-16
RANLIB: llvm-ranlib-16
- name: Build example with clang
run: make -f examples/auth-demo/Makefile.clang all
env:
CC: clang-16
LD: ld.lld-16
OBJCOPY: llvm-objcopy-16
AR: llvm-ar-16
RANLIB: llvm-ranlib-16
- name: Run auth_rust tests
run: cd tests/auth_rust && cargo test
- name: Install ckb-debugger
Expand Down

0 comments on commit d721697

Please sign in to comment.