Skip to content

Commit 8e60176

Browse files
committed
remove old
1 parent 596bb19 commit 8e60176

File tree

1 file changed

+11
-26
lines changed

1 file changed

+11
-26
lines changed

.github/workflows/turborepo-library-release.yml

+11-26
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
container-options: "--rm"
2222
target: "aarch64-apple-darwin"
2323
- host: macos-latest
24+
container-options: "--rm"
2425
target: "x86_64-apple-darwin"
2526
- host: ubuntu-latest
2627
container-options: "--rm"
@@ -41,35 +42,18 @@ jobs:
4142
4243
setup: |
4344
pnpm install
44-
- host: ubuntu-latest
45-
target: "aarch64-unknown-linux-musl"
46-
container-options: "--rm"
47-
install: |
48-
apt-get update
49-
apt-get install -y curl musl-tools
50-
51-
setup: |
52-
pnpm install
53-
- host: ubuntu-latest
54-
target: "x86_64-unknown-linux-musl"
55-
container-options: "--rm"
56-
install: |
57-
apt-get update
58-
apt-get install -y curl musl-tools
59-
60-
setup: |
61-
pnpm install
6245
- host: ubuntu-latest
6346
container: ubuntu:xenial
6447
container-options: "--platform=linux/amd64 --rm"
65-
container-setup: "apt-get update && apt-get install -y curl musl-tools sudo"
48+
container-setup: "apt-get update && apt-get install -y curl musl-tools sudo && npm i -g [email protected]"
6649
target: "x86_64-unknown-linux-musl"
67-
setup: "apt-get install -y build-essential clang-5.0 lldb-5.0 llvm-5.0-dev libclang-5.0-dev"
50+
setup: "sudo apt-get install -y build-essential clang-5.0 lldb-5.0 llvm-5.0-dev libclang-5.0-dev && pnpm install"
6851
- host: ubuntu-latest
6952
container-options: "--rm"
53+
container-setup: "npm i -g [email protected]"
7054
target: "aarch64-unknown-linux-musl"
7155
rust-build-env: 'CC_aarch64_unknown_linux_musl=clang AR_aarch64_unknown_linux_musl=llvm-ar RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld"'
72-
setup: "sudo apt-get update && sudo apt-get install -y build-essential musl-tools clang llvm gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu"
56+
setup: "sudo apt-get update && sudo apt-get install -y build-essential musl-tools clang llvm gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu && pnpm install"
7357
- host: windows-latest
7458
container-options: "--rm"
7559
target: "aarch64-pc-windows-msvc"
@@ -95,11 +79,12 @@ jobs:
9579
with:
9680
fetch-depth: 0
9781

98-
- name: Setup Rust
99-
uses: ./.github/actions/setup-rust
82+
- name: Rust Setup
83+
uses: actions-rs/toolchain@v1
10084
with:
101-
targets: ${{ matrix.settings.target }}
102-
if: ${{ !matrix.settings.install }}
85+
profile: minimal
86+
override: true
87+
target: ${{ matrix.settings.target }}
10388

10489
- name: Setup Node
10590
uses: ./.github/actions/setup-node
@@ -114,7 +99,7 @@ jobs:
11499
- name: Build native library
115100
run: |
116101
cd packages/turbo-repository
117-
pnpm build:release --target=${{ matrix.settings.target }} --cargo-flags="${{ matrix.settings.rust-build-env }}"
102+
pnpm build:release --target=${{ matrix.settings.target }} --cargo-flags=${{ matrix.settings.rust-build-env }}
118103
119104
- name: Upload Artifacts
120105
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)