Skip to content

Commit 11af9ed

Browse files
committed
Temporarily disable ARM builds, focus on x64 platforms only
1 parent 34b3d65 commit 11af9ed

File tree

2 files changed

+24
-20
lines changed

2 files changed

+24
-20
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,17 @@ jobs:
6262
chmod +x effect-devtools-linux-x64
6363
./effect-devtools-linux-x64
6464
65-
# macOS (Apple Silicon)
66-
wget https://github.com/${{ github.repository }}/releases/download/v${{ steps.package-version.outputs.version }}/effect-devtools-darwin-arm64
67-
chmod +x effect-devtools-darwin-arm64
68-
./effect-devtools-darwin-arm64
65+
# macOS (Intel)
66+
wget https://github.com/${{ github.repository }}/releases/download/v${{ steps.package-version.outputs.version }}/effect-devtools-darwin-x64
67+
chmod +x effect-devtools-darwin-x64
68+
./effect-devtools-darwin-x64
6969
```
7070
7171
Built from commit ${{ github.sha }}
7272
files: |
7373
dist/effect-devtools-linux-x64/effect-devtools-linux-x64
74-
dist/effect-devtools-linux-arm64/effect-devtools-linux-arm64
7574
dist/effect-devtools-linux-x64-musl/effect-devtools-linux-x64-musl
76-
dist/effect-devtools-linux-arm64-musl/effect-devtools-linux-arm64-musl
7775
dist/effect-devtools-darwin-x64/effect-devtools-darwin-x64
78-
dist/effect-devtools-darwin-arm64/effect-devtools-darwin-arm64
7976
dist/effect-devtools-windows-x64/effect-devtools-windows-x64.exe
8077
draft: false
8178
prerelease: false

build.ts

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,28 @@ const allTargets: {
1818
arch: "arm64" | "x64"
1919
abi?: "musl"
2020
}[] = [
21-
{
22-
os: "linux",
23-
arch: "arm64",
24-
},
21+
// {
22+
// os: "linux",
23+
// arch: "arm64",
24+
// },
2525
{
2626
os: "linux",
2727
arch: "x64",
2828
},
29-
{
30-
os: "linux",
31-
arch: "arm64",
32-
abi: "musl",
33-
},
29+
// {
30+
// os: "linux",
31+
// arch: "arm64",
32+
// abi: "musl",
33+
// },
3434
{
3535
os: "linux",
3636
arch: "x64",
3737
abi: "musl",
3838
},
39-
{
40-
os: "darwin",
41-
arch: "arm64",
42-
},
39+
// {
40+
// os: "darwin",
41+
// arch: "arm64",
42+
// },
4343
{
4444
os: "darwin",
4545
arch: "x64",
@@ -56,6 +56,13 @@ const targets = singleFlag
5656

5757
await Bun.$`rm -rf dist`
5858

59+
// Install platform-specific native modules for all targets
60+
const skipInstall = process.argv.includes("--skip-install")
61+
if (!skipInstall) {
62+
console.log("Installing platform-specific native modules...")
63+
await Bun.$`bun install --os="*" --cpu="*" @opentui/core@${pkg.dependencies["@opentui/core"]}`
64+
}
65+
5966
for (const item of targets) {
6067
const name = [
6168
"effect-devtools",

0 commit comments

Comments
 (0)