Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Commit 459a529

Browse files
committed
Drop arm64 builds
1 parent 6840801 commit 459a529

File tree

2 files changed

+5
-27
lines changed

2 files changed

+5
-27
lines changed

.cargo/config.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@
22
linker = "clang"
33
rustflags = ["-Ctarget-cpu=native", "--cfg", "tokio_unstable", "-C", "link-arg=-fuse-ld=mold", "-Zshare-generics=y"]
44

5-
[target.x86_64-unknown-linux-musl]
6-
linker = "clang"
7-
rustflags = ["-Ctarget-cpu=native", "--cfg", "tokio_unstable", "-C", "link-arg=-fuse-ld=mold", "-Zshare-generics=y"]
8-
95
[build]
106
rustdocflags = ["--cfg", "tokio_unstable"]

.github/workflows/binary.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,22 @@ on:
99
env:
1010
CARGO_TERM_COLOR: always
1111

12-
RUSTFLAGS: "--cfg tokio_unstable -Zshare-generics=y"
13-
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
14-
1512
jobs:
1613
build:
17-
name: Rust project - latest
14+
name: Build binary
1815
runs-on: ubuntu-latest
19-
strategy:
20-
matrix:
21-
target:
22-
- x86_64-unknown-linux-gnu
23-
- aarch64-unknown-linux-gnu
2416
steps:
2517
- uses: actions/checkout@v4
2618

2719
- uses: actions-rust-lang/setup-rust-toolchain@v1
2820
with:
29-
target: ${{ matrix.target }}
30-
31-
- if: matrix.target == 'x86_64-unknown-linux-gnu'
32-
run: |
33-
sudo apt update
34-
sudo apt install -y --no-install-recommends pkgconf
35-
36-
- if: matrix.target == 'aarch64-unknown-linux-gnu'
37-
run: |
38-
sudo apt update
39-
sudo apt install -y gcc-aarch64-linux-gnu pkgconf
21+
target: x86_64-unknown-linux-gnu
4022

4123
- name: Build
42-
run: cargo build --release --target ${{ matrix.target }}
24+
run: cargo build --release --target x86_64-unknown-linux-gnu
4325

4426
- name: Upload artifact
4527
uses: actions/upload-artifact@v4
4628
with:
47-
name: scripty_v2-${{ matrix.target }}
48-
path: target/${{ matrix.target }}/release/scripty_v2
29+
name: scripty_v2-x86_64-unknown-linux-gnu
30+
path: target/x86_64-unknown-linux-gnu/release/scripty_v2

0 commit comments

Comments
 (0)