@@ -27,28 +27,32 @@ jobs:
2727 musl-gcc :
2828 name : musl-gcc
2929 runs-on : ubuntu-latest
30+ container :
31+ image : ghcr.io/rust-lang/rust:nightly-alpine
32+ env :
33+ CARGO_TERM_COLOR : always
34+ RUSTFLAGS : -Ctarget-feature=+crt-static
35+ UNSTABLE_OPTIONS : -Ztarget-applies-to-host -Zhost-config
3036 strategy :
3137 matrix :
3238 feature :
3339 - vendored-openssl,rustls-ring
3440 - vendored-tongsuo,rustls-ring
3541 steps :
42+ - name : Install base tools
43+ run : |
44+ apk add --no-cache git curl
3645 - name : Checkout sources
3746 uses : actions/checkout@v7
3847 with :
3948 submodules : true
40- - name : Install stable toolchain
41- uses : actions-rust-lang/setup-rust-toolchain@v1
42- with :
43- toolchain : stable
44- target : x86_64-unknown-linux-musl
4549 - name : Install dependencies
4650 run : |
47- sudo apt-get update
48- sudo apt-get install capnproto musl-tools
49- sudp apt-get install autoconf autopoint flex bison gawk
51+ apk add --no-cache musl-dev linux-headers libstdc++-dev libunwind-static
52+ apk add --no-cache autoconf automake argp-standalone musl-fts-dev musl-obstack-dev musl-libintl gettext-tiny flex bison gawk
53+ apk add --no-cache g++ capnproto-dev clang-libclang cmake make perl nasm
5054 - name : Cargo build
51- run : cargo build --target=x86_64-unknown-linux-musl --no-default-features --features secure-vendored-mimalloc,vendored-ebpf,${{ matrix.feature }},quic,vendored-c-ares
55+ run : cargo build $UNSTABLE_OPTIONS --no-default-features --features secure-vendored-mimalloc,vendored-ebpf,${{ matrix.feature }},quic,vendored-c-ares
5256 musl-clang :
5357 name : musl-clang
5458 runs-on : ubuntu-latest
7882 - name : Install dependencies
7983 run : |
8084 apk add --no-cache musl-dev linux-headers libc++-dev llvm-libunwind-static
81- apk add --no-cache autoconf gettext flex bison gawk
85+ apk add --no-cache autoconf automake argp-standalone musl-fts-dev musl-obstack-dev musl-libintl gettext-tiny flex bison gawk
8286 apk add --no-cache clang lld capnproto-dev clang-libclang cmake make
8387 - name : Install Go for AWS-LC-FIPS
8488 if : contains(matrix.feature, 'vendored-aws-lc-fips')
@@ -114,7 +118,7 @@ jobs:
114118 - name : Install dependencies
115119 run : |
116120 apk add --no-cache musl-dev linux-headers libc++-dev libc++-static llvm-libunwind-static
117- apk add --no-cache autoconf gettext flex bison gawk
121+ apk add --no-cache autoconf automake argp-standalone musl-fts-dev musl-obstack-dev musl-libintl gettext-tiny flex bison gawk
118122 apk add --no-cache clang lld capnproto-dev clang-libclang cmake make
119123 - name : Cargo build
120124 run : cargo $UNSTABLE_OPTIONS build --no-default-features --features secure-vendored-mimalloc,vendored-ebpf,${{ matrix.feature }},quic,vendored-c-ares
0 commit comments