nightly build fixes

This commit is contained in:
Anton-4 2023-10-24 15:39:32 +02:00 committed by GitHub
parent 3155fdb855
commit 72ca026d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,10 @@ on:
name: Nightly Release macOS Apple Silicon
env:
RUST_BACKTRACE: 1
LLVM_SYS_160_PREFIX: /opt/homebrew/opt/llvm@16
jobs:
test-and-build:
name: Rust tests, build and package nightly release

View File

@ -10,7 +10,6 @@ install-other-libs:
FROM +prep-debian
RUN apt -y install wget git
RUN apt -y install libunwind-dev pkg-config zlib1g-dev
RUN apt -y install libpolly-16-dev # required by llvm-sys crate
RUN apt -y install unzip # for www/build.sh
install-zig-llvm:
@ -30,6 +29,7 @@ install-zig-llvm:
RUN ln -s /usr/bin/clang-16 /usr/bin/clang
# use lld as linker
RUN ln -s /usr/bin/lld-16 /usr/bin/ld.lld
RUN apt -y install libpolly-16-dev # required by llvm-sys crate
ENV RUSTFLAGS="-C link-arg=-fuse-ld=lld -C target-cpu=native"
RUN apt -y install libssl-dev
RUN OPENSSL_NO_VENDOR=1 cargo install wasm-pack