Skip to content

Commit 596bb19

Browse files
committed
container opts
1 parent c15b0ff commit 596bb19

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

+7
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ jobs:
1818
matrix:
1919
settings:
2020
- host: macos-latest
21+
container-options: "--rm"
2122
target: "aarch64-apple-darwin"
2223
- host: macos-latest
2324
target: "x86_64-apple-darwin"
2425
- host: ubuntu-latest
26+
container-options: "--rm"
2527
target: "aarch64-unknown-linux-gnu"
2628
setup: |
2729
sudo apt update
@@ -31,6 +33,7 @@ jobs:
3133
echo "CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++" >> $GITHUB_ENV
3234
- host: ubuntu-latest
3335
target: "x86_64-unknown-linux-gnu"
36+
container-options: "--rm"
3437
container: amazon/aws-lambda-nodejs:18
3538
install: |
3639
yum install -y gcc gcc-c++ git
@@ -40,6 +43,7 @@ jobs:
4043
pnpm install
4144
- host: ubuntu-latest
4245
target: "aarch64-unknown-linux-musl"
46+
container-options: "--rm"
4347
install: |
4448
apt-get update
4549
apt-get install -y curl musl-tools
@@ -48,6 +52,7 @@ jobs:
4852
pnpm install
4953
- host: ubuntu-latest
5054
target: "x86_64-unknown-linux-musl"
55+
container-options: "--rm"
5156
install: |
5257
apt-get update
5358
apt-get install -y curl musl-tools
@@ -66,8 +71,10 @@ jobs:
6671
rust-build-env: 'CC_aarch64_unknown_linux_musl=clang AR_aarch64_unknown_linux_musl=llvm-ar RUSTFLAGS="-Clink-self-contained=yes -Clinker=rust-lld"'
6772
setup: "sudo apt-get update && sudo apt-get install -y build-essential musl-tools clang llvm gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu"
6873
- host: windows-latest
74+
container-options: "--rm"
6975
target: "aarch64-pc-windows-msvc"
7076
- host: windows-latest
77+
container-options: "--rm"
7178
target: "x86_64-pc-windows-msvc"
7279

7380
runs-on: ${{ matrix.settings.host }}

0 commit comments

Comments
 (0)