Skip to content

Commit 12fae88

Browse files
committed
REMOVE ME
1 parent ab37981 commit 12fae88

File tree

1 file changed

+76
-75
lines changed

1 file changed

+76
-75
lines changed
Lines changed: 76 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: build-release
22

33
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
46
push:
57
tags:
68
- "**"
@@ -14,75 +16,75 @@ env:
1416
ZIG_VERSION: 0.13.0
1517

1618
jobs:
17-
build-x86_64-linux:
18-
env:
19-
OS: linux
20-
ARCH: x86_64
21-
22-
runs-on: ubuntu-22.04
23-
steps:
24-
- uses: mlugg/setup-zig@v1
25-
with:
26-
version: ${{ env.ZIG_VERSION }}
27-
28-
- uses: actions/checkout@v4
29-
with:
30-
submodules: recursive
31-
fetch-depth: 0
32-
33-
- name: Read version
34-
id: read-version
35-
run: |
36-
echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
37-
38-
- run: sudo apt-get install -yq libglib2.0-dev
39-
40-
- run: zig build get-tools
41-
- run: zig build get-v8
42-
- run: zig build -Doptimize=ReleaseSafe
43-
- run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
44-
45-
- name: Upload the build
46-
uses: ncipollo/release-action@v1
47-
with:
48-
allowUpdates: true
49-
artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
50-
51-
build-aarch64-macos:
52-
env:
53-
OS: macos
54-
ARCH: aarch64
55-
56-
runs-on: macos-latest
57-
steps:
58-
- uses: mlugg/setup-zig@v1
59-
with:
60-
version: ${{ env.ZIG_VERSION }}
61-
62-
- uses: actions/setup-python@v5
63-
with:
64-
python-version: '3.11'
65-
66-
- uses: actions/checkout@v4
67-
with:
68-
submodules: recursive
69-
fetch-depth: 0
70-
71-
- name: Read version
72-
id: read-version
73-
run: |
74-
echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
75-
76-
- run: zig build get-tools
77-
- run: zig build get-v8
78-
- run: zig build -Doptimize=ReleaseSafe
79-
- run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
80-
81-
- name: Upload the build
82-
uses: ncipollo/release-action@v1
83-
with:
84-
allowUpdates: true
85-
artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
19+
# build-x86_64-linux:
20+
# env:
21+
# OS: linux
22+
# ARCH: x86_64
23+
24+
# runs-on: ubuntu-22.04
25+
# steps:
26+
# - uses: mlugg/setup-zig@v1
27+
# with:
28+
# version: ${{ env.ZIG_VERSION }}
29+
30+
# - uses: actions/checkout@v4
31+
# with:
32+
# submodules: recursive
33+
# fetch-depth: 0
34+
35+
# - name: Read version
36+
# id: read-version
37+
# run: |
38+
# echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
39+
40+
# - run: sudo apt-get install -yq libglib2.0-dev
41+
42+
# - run: zig build get-tools
43+
# - run: zig build get-v8
44+
# - run: zig build -Doptimize=ReleaseSafe
45+
# - run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
46+
47+
# - name: Upload the build
48+
# uses: ncipollo/release-action@v1
49+
# with:
50+
# allowUpdates: true
51+
# artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
52+
53+
# build-aarch64-macos:
54+
# env:
55+
# OS: macos
56+
# ARCH: aarch64
57+
58+
# runs-on: macos-latest
59+
# steps:
60+
# - uses: mlugg/setup-zig@v1
61+
# with:
62+
# version: ${{ env.ZIG_VERSION }}
63+
64+
# - uses: actions/setup-python@v5
65+
# with:
66+
# python-version: '3.11'
67+
68+
# - uses: actions/checkout@v4
69+
# with:
70+
# submodules: recursive
71+
# fetch-depth: 0
72+
73+
# - name: Read version
74+
# id: read-version
75+
# run: |
76+
# echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
77+
78+
# - run: zig build get-tools
79+
# - run: zig build get-v8
80+
# - run: zig build -Doptimize=ReleaseSafe
81+
# - run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
82+
83+
# - name: Upload the build
84+
# uses: ncipollo/release-action@v1
85+
# with:
86+
# allowUpdates: true
87+
# artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
8688

8789
build-arm64-linux:
8890
env:
@@ -114,9 +116,8 @@ jobs:
114116
- run: zig build -Doptimize=ReleaseSafe
115117
- run: mv v8-build/${{ env.ARCH }}-${{ env.OS }}/release/ninja/obj/zig/libc_v8.a libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
116118

117-
- name: Upload the build
118-
uses: ncipollo/release-action@v1
119-
with:
120-
allowUpdates: true
121-
artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
122-
119+
# - name: Upload the build
120+
# uses: ncipollo/release-action@v1
121+
# with:
122+
# allowUpdates: true
123+
# artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a

0 commit comments

Comments
 (0)