Skip to content

Commit

Permalink
ci: add s390x-unknown-linux-gnu and powerpc64le-unknown-linux-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Jul 17, 2024
1 parent 9fb1550 commit 15ecd28
Show file tree
Hide file tree
Showing 4 changed files with 169 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ jobs:
- host: windows-latest
target: aarch64-pc-windows-msvc
build: pnpm build --target aarch64-pc-windows-msvc
- host: ubuntu-latest
target: powerpc64le-unknown-linux-gnu
build: |
sudo apt-get update
sudo apt-get install -y gcc-powerpc64le-linux-gnu
pnpm build --target powerpc64le-unknown-linux-gnu
- host: ubuntu-latest
target: s390x-unknown-linux-gnu
build: |
sudo apt-get update
sudo apt-get install -y gcc-s390x-linux-gnu
pnpm build --target s390x-unknown-linux-gnu
- host: ubuntu-latest
target: wasm32-wasip1-threads
build: pnpm build --target wasm32-wasip1-threads
Expand Down Expand Up @@ -267,6 +279,7 @@ jobs:
- aarch64-unknown-linux-gnu
- aarch64-unknown-linux-musl
- armv7-unknown-linux-gnueabihf
- s390x-unknown-linux-gnu
node:
- '18'
- '20'
Expand All @@ -292,6 +305,10 @@ jobs:
console.log('PLATFORM=linux/arm64')
} else if ('${{ matrix.target }}'.startsWith('armv7')) {
console.log('PLATFORM=linux/arm/v7')
} else if ('${{ matrix.target }}'.startsWith('powerpc64le')) {
console.log('PLATFORM=linux/ppc64le')
} else if ('${{ matrix.target }}'.startsWith('s390x')) {
console.log('PLATFORM=linux/s390x')
} else {
console.log('PLATFORM=linux/amd64')
}
Expand Down
2 changes: 2 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
"aarch64-unknown-linux-musl",
"aarch64-pc-windows-msvc",
"armv7-unknown-linux-gnueabihf",
"powerpc64le-unknown-linux-gnu",
"s390x-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"i686-pc-windows-msvc",
"armv7-linux-androideabi",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrate-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "node --import @oxc-node/core/register ./src/index.ts"
},
"devDependencies": {
"@napi-rs/simple-git": "^0.1.16",
"@napi-rs/simple-git": "^0.1.17",
"@napi-rs/wasm-runtime": "^0.2.4",
"@oxc-node/core": "workspace:*",
"@types/node": "^20.14.9",
Expand Down
151 changes: 149 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 15ecd28

Please sign in to comment.