Skip to content

Commit 1dc12d1

Browse files
committed
revert(ci): rollback release workflow for building binaries
1 parent 2038217 commit 1dc12d1

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,14 @@ jobs:
3434
matrix:
3535
job:
3636
- { os: ubuntu-20.04, target: x86_64-unknown-linux-musl, use-cross: true }
37-
- { os: ubuntu-latest, target: x86_64-unknown-linux-gnu, use-cross: false }
37+
- { os: ubuntu-latest, target: x86_64-unknown-linux-gnu, use-cross: true }
3838
- { os: ubuntu-latest, target: aarch64-unknown-linux-musl, use-cross: true }
39-
- { os: macos-latest, target: x86_64-apple-darwin, use-cross: false }
40-
- { os: macos-latest, target: aarch64-apple-darwin, use-cross: false }
39+
- { os: macos-latest, target: x86_64-apple-darwin, use-cross: true }
40+
- { os: macos-latest, target: aarch64-apple-darwin, use-cross: true }
4141
steps:
4242
- name: Checkout source code
4343
uses: actions/checkout@v5
4444

45-
- name: Install x86_64-unknown-linux-gnu system dependencies
46-
if: matrix.job.target == 'x86_64-unknown-linux-gnu'
47-
run: |
48-
sudo apt-get update
49-
sudo apt-get install -y build-essential clang libclang-dev
50-
5145
- name: Extract crate information
5246
shell: bash
5347
run: |
@@ -72,13 +66,11 @@ jobs:
7266
rustc -V
7367
7468
- name: Install cross
75-
if: matrix.job.use-cross
7669
uses: taiki-e/install-action@v2
7770
with:
7871
tool: cross
7972

8073
- name: Build with cross
81-
if: matrix.job.use-cross
8274
run: cross build --release --target=${{ matrix.job.target }}
8375

8476
- name: Set binary name & path

0 commit comments

Comments
 (0)