Skip to content

Commit 93a9083

Browse files
committed
💚 fix github ci
1 parent 822bfa4 commit 93a9083

2 files changed

Lines changed: 33 additions & 10 deletions

File tree

.cargo/config.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[target.x86_64-unknown-linux-gnu]
2+
rustflags = ["-C", "linker=clang", "-C", "link-arg=-fuse-ld=lld"]
3+
4+
[target.aarch64-unknown-linux-gnu]
5+
rustflags = ["-C", "linker=clang", "-C", "link-arg=-fuse-ld=lld"]
6+
7+
[target.x86_64-unknown-linux-musl]
8+
rustflags = ["-C", "linker=clang", "-C", "link-arg=-fuse-ld=lld"]
9+
10+
[target.aarch64-unknown-linux-musl]
11+
rustflags = ["-C", "linker=clang", "-C", "link-arg=-fuse-ld=lld"]
12+
13+
# [target.x86_64-apple-darwin]
14+
# rustflags = ["-C", "link-arg=-fuse-ld=lld"]
15+
16+
# [target.aarch64-apple-darwin]
17+
# rustflags = ["-C", "link-arg=-fuse-ld=lld"]
18+
19+
[target.x86_64-pc-windows-msvc]
20+
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
21+
22+
[target.x86_64-pc-windows-gnu]
23+
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

.github/workflows/binary.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
matrix:
1919
include:
2020
- os: ubuntu-latest
21-
target: x86_64-unknown-linux-musl
22-
# - os: windows-latest
23-
# target: x86_64-pc-windows-msvc
24-
# - os: macos-latest
25-
# target: x86_64-apple-darwin
21+
target: x86_64-unknown-linux-gnu
22+
- os: windows-latest
23+
target: x86_64-pc-windows-msvc
24+
- os: macos-latest
25+
target: x86_64-apple-darwin
2626
runs-on: ${{ matrix.os }}
2727

2828
steps:
@@ -36,12 +36,12 @@ jobs:
3636
- name: Setup environment (ubuntu)
3737
if: ${{ matrix.os == 'ubuntu-latest' }}
3838
run: |
39-
sudo apt update && sudo apt install -y musl-tools musl-dev clang lld
39+
sudo apt update && sudo apt install -y musl-tools musl-dev pkg-config libssl-dev clang lld
4040
41-
# - name: Setup environment (macos)
42-
# if: ${{ matrix.os == 'macos-latest' }}
43-
# run: |
44-
# brew install llvm && brew link --force llvm
41+
- name: Setup environment (macos)
42+
if: ${{ matrix.os == 'macos-latest' }}
43+
run: |
44+
brew install llvm && brew link --force llvm
4545
4646
- name: Setup rust
4747
uses: dtolnay/rust-toolchain@stable

0 commit comments

Comments
 (0)