mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-07 00:13:10 +00:00
force cc linker to avoid gh issues
This commit is contained in:
parent
399a39b7df
commit
52aea7ccaa
17
.github/workflows/main.yml
vendored
17
.github/workflows/main.yml
vendored
@ -8,6 +8,22 @@ on:
|
||||
|
||||
name: CI
|
||||
|
||||
# Make sure cc linker is used on Linux/macOS
|
||||
x-setup-linker: &setup-linker
|
||||
- name: Setup linker
|
||||
run: |
|
||||
mkdir -p .cargo
|
||||
cat > .cargo/config.toml <<EOF
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "cc"
|
||||
|
||||
[target.aarch64-apple-darwin]
|
||||
linker = "cc"
|
||||
|
||||
[target.x86_64-apple-darwin]
|
||||
linker = "cc"
|
||||
EOF
|
||||
|
||||
jobs:
|
||||
check:
|
||||
name: Check
|
||||
@ -62,6 +78,7 @@ jobs:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
default: true
|
||||
override: true
|
||||
- *setup-linker
|
||||
- uses: actions-rs/cargo@v1
|
||||
continue-on-error: false
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user