77 # Allows you to run this workflow manually from the Actions tab
88 workflow_dispatch :
99
10+ pull_request :
11+ types : [opened, synchronize, reopened, ready_for_review]
12+
1013permissions :
1114 contents : write
1215
1316jobs :
14- build-linux-x86_64 :
15- env :
16- ARCH : x86_64
17- OS : linux
18-
19- runs-on : ubuntu-22.04
20-
21- steps :
22- - uses : actions/checkout@v4
23- with :
24- fetch-depth : 0
25- # fetch submodules recusively, to get zig-js-runtime submodules also.
26- submodules : recursive
27-
28- - uses : ./.github/actions/install
29- with :
30- os : ${{env.OS}}
31- arch : ${{env.ARCH}}
32-
33- - name : zig build
34- run : zig build --release=safe -Doptimize=ReleaseSafe -Dengine=v8 -Dcpu=x86_64 -Dgit_commit=$(git rev-parse --short ${{ github.sha }})
35-
36- - name : Rename binary
37- run : mv zig-out/bin/lightpanda lightpanda-${{ env.ARCH }}-${{ env.OS }}
38-
39- - name : Upload the build
40- uses : ncipollo/release-action@v1
41- with :
42- allowUpdates : true
43- artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
44- tag : nightly
17+ # build-linux-x86_64:
18+ # env:
19+ # ARCH: x86_64
20+ # OS: linux
21+
22+ # runs-on: ubuntu-22.04
23+
24+ # steps:
25+ # - uses: actions/checkout@v4
26+ # with:
27+ # fetch-depth: 0
28+ # # fetch submodules recusively, to get zig-js-runtime submodules also.
29+ # submodules: recursive
30+
31+ # - uses: ./.github/actions/install
32+ # with:
33+ # os: ${{env.OS}}
34+ # arch: ${{env.ARCH}}
35+
36+ # - name: zig build
37+ # run: zig build --release=safe -Doptimize=ReleaseSafe -Dengine=v8 -Dcpu=x86_64 -Dgit_commit=$(git rev-parse --short ${{ github.sha }})
38+
39+ # - name: Rename binary
40+ # run: mv zig-out/bin/lightpanda lightpanda-${{ env.ARCH }}-${{ env.OS }}
41+
42+ # - name: Upload the build
43+ # uses: ncipollo/release-action@v1
44+ # with:
45+ # allowUpdates: true
46+ # artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
47+ # tag: nightly
4548
4649 build-linux-aarch64 :
4750 env :
@@ -68,41 +71,41 @@ jobs:
6871 - name : Rename binary
6972 run : mv zig-out/bin/lightpanda lightpanda-${{ env.ARCH }}-${{ env.OS }}
7073
71- - name : Upload the build
72- uses : ncipollo/release-action@v1
73- with :
74- allowUpdates : true
75- artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
76- tag : nightly
77-
78- build-macos-aarch64 :
79- env :
80- ARCH : aarch64
81- OS : macos
82-
83- runs-on : macos-latest
84-
85- steps :
86- - uses : actions/checkout@v4
87- with :
88- fetch-depth : 0
89- # fetch submodules recusively, to get zig-js-runtime submodules also.
90- submodules : recursive
91-
92- - uses : ./.github/actions/install
93- with :
94- os : ${{env.OS}}
95- arch : ${{env.ARCH}}
96-
97- - name : zig build
98- run : zig build --release=safe -Doptimize=ReleaseSafe -Dengine=v8 -Dgit_commit=$(git rev-parse --short ${{ github.sha }})
99-
100- - name : Rename binary
101- run : mv zig-out/bin/lightpanda lightpanda-${{ env.ARCH }}-${{ env.OS }}
102-
103- - name : Upload the build
104- uses : ncipollo/release-action@v1
105- with :
106- allowUpdates : true
107- artifacts : lightpanda-${{ env.ARCH }}-${{ env.OS }}
108- tag : nightly
74+ # - name: Upload the build
75+ # uses: ncipollo/release-action@v1
76+ # with:
77+ # allowUpdates: true
78+ # artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
79+ # tag: nightly
80+
81+ # build-macos-aarch64:
82+ # env:
83+ # ARCH: aarch64
84+ # OS: macos
85+
86+ # runs-on: macos-latest
87+
88+ # steps:
89+ # - uses: actions/checkout@v4
90+ # with:
91+ # fetch-depth: 0
92+ # # fetch submodules recusively, to get zig-js-runtime submodules also.
93+ # submodules: recursive
94+
95+ # - uses: ./.github/actions/install
96+ # with:
97+ # os: ${{env.OS}}
98+ # arch: ${{env.ARCH}}
99+
100+ # - name: zig build
101+ # run: zig build --release=safe -Doptimize=ReleaseSafe -Dengine=v8 -Dgit_commit=$(git rev-parse --short ${{ github.sha }})
102+
103+ # - name: Rename binary
104+ # run: mv zig-out/bin/lightpanda lightpanda-${{ env.ARCH }}-${{ env.OS }}
105+
106+ # - name: Upload the build
107+ # uses: ncipollo/release-action@v1
108+ # with:
109+ # allowUpdates: true
110+ # artifacts: lightpanda-${{ env.ARCH }}-${{ env.OS }}
111+ # tag: nightly
0 commit comments