Use clang instead of clang-9
The current version of clang is 14, there is no obvious reason why we use clang-9 (as far as I can tell on my local machine). Use `clang` instead of `clang-9` so that the latest version is used by default. This effects the version installed by CI as well as the version used to run commands in `test.sh`.
This commit is contained in:
parent
15a8c20427
commit
a59028c965
|
@ -61,7 +61,7 @@ jobs:
|
||||||
- name: Checkout Crate
|
- name: Checkout Crate
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install clang
|
- name: Install clang
|
||||||
run: sudo apt-get install -y clang-9
|
run: sudo apt-get install -y clang
|
||||||
- name: Checkout Toolchain
|
- name: Checkout Toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -69,11 +69,11 @@ fi
|
||||||
|
|
||||||
# Webassembly stuff
|
# Webassembly stuff
|
||||||
if [ "$DO_WASM" = true ]; then
|
if [ "$DO_WASM" = true ]; then
|
||||||
clang-9 --version
|
clang --version
|
||||||
CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
|
CARGO_TARGET_DIR=wasm cargo install --force wasm-pack
|
||||||
printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
|
printf '\n[lib]\ncrate-type = ["cdylib", "rlib"]\n' >> Cargo.toml
|
||||||
CC=clang-9 wasm-pack build
|
CC=clang wasm-pack build
|
||||||
CC=clang-9 wasm-pack test --node
|
CC=clang wasm-pack test --node
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Address Sanitizer
|
# Address Sanitizer
|
||||||
|
|
Loading…
Reference in New Issue