|
6 | 6 | - "**" |
7 | 7 | # Allows you to run this workflow manually from the Actions tab |
8 | 8 | workflow_dispatch: |
| 9 | + pull_request: |
| 10 | + types: [opened, synchronize, reopened, ready_for_review] |
9 | 11 |
|
10 | 12 | permissions: |
11 | 13 | contents: write |
@@ -44,47 +46,47 @@ jobs: |
44 | 46 | - run: zig build -Doptimize=ReleaseSafe |
45 | 47 | - 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 | 48 |
|
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 |
| 49 | +# - name: Upload the build |
| 50 | +# uses: ncipollo/release-action@v1 |
| 51 | +# with: |
| 52 | +# allowUpdates: true |
| 53 | +# artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a |
| 54 | + |
| 55 | +# build-aarch64-macos: |
| 56 | +# env: |
| 57 | +# OS: macos |
| 58 | +# ARCH: aarch64 |
| 59 | + |
| 60 | +# runs-on: macos-latest |
| 61 | +# steps: |
| 62 | +# - uses: mlugg/setup-zig@v1 |
| 63 | +# with: |
| 64 | +# version: ${{ env.ZIG_VERSION }} |
| 65 | + |
| 66 | +# - uses: actions/setup-python@v5 |
| 67 | +# with: |
| 68 | +# python-version: '3.11' |
| 69 | + |
| 70 | +# - uses: actions/checkout@v4 |
| 71 | +# with: |
| 72 | +# submodules: recursive |
| 73 | +# fetch-depth: 0 |
| 74 | + |
| 75 | +# - name: Read version |
| 76 | +# id: read-version |
| 77 | +# run: | |
| 78 | +# echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT" |
| 79 | + |
| 80 | +# - run: zig build get-tools |
| 81 | +# - run: zig build get-v8 |
| 82 | +# - run: zig build -Doptimize=ReleaseSafe |
| 83 | +# - 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 |
| 84 | + |
| 85 | +# - name: Upload the build |
| 86 | +# uses: ncipollo/release-action@v1 |
| 87 | +# with: |
| 88 | +# allowUpdates: true |
| 89 | +# artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a |
88 | 90 |
|
89 | 91 | build-arm64-linux: |
90 | 92 | env: |
@@ -116,44 +118,44 @@ jobs: |
116 | 118 | - run: zig build -Doptimize=ReleaseSafe |
117 | 119 | - 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 |
118 | 120 |
|
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 |
124 | | - |
125 | | - build-x86_64-macos: |
126 | | - env: |
127 | | - OS: macos |
128 | | - ARCH: x86_64 |
129 | | - |
130 | | - runs-on: macos-13 |
131 | | - steps: |
132 | | - - uses: mlugg/setup-zig@v1 |
133 | | - with: |
134 | | - version: ${{ env.ZIG_VERSION }} |
135 | | - |
136 | | - - uses: actions/setup-python@v5 |
137 | | - with: |
138 | | - python-version: '3.11' |
139 | | - |
140 | | - - uses: actions/checkout@v4 |
141 | | - with: |
142 | | - submodules: recursive |
143 | | - fetch-depth: 0 |
144 | | - |
145 | | - - name: Read version |
146 | | - id: read-version |
147 | | - run: | |
148 | | - echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT" |
149 | | -
|
150 | | - - run: zig build get-tools |
151 | | - - run: zig build get-v8 |
152 | | - - run: zig build -Doptimize=ReleaseSafe |
153 | | - - 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 |
154 | | - |
155 | | - - name: Upload the build |
156 | | - uses: ncipollo/release-action@v1 |
157 | | - with: |
158 | | - allowUpdates: true |
159 | | - artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a |
| 121 | +# - name: Upload the build |
| 122 | +# uses: ncipollo/release-action@v1 |
| 123 | +# with: |
| 124 | +# allowUpdates: true |
| 125 | +# artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a |
| 126 | + |
| 127 | +# build-x86_64-macos: |
| 128 | +# env: |
| 129 | +# OS: macos |
| 130 | +# ARCH: x86_64 |
| 131 | + |
| 132 | +# runs-on: macos-13 |
| 133 | +# steps: |
| 134 | +# - uses: mlugg/setup-zig@v1 |
| 135 | +# with: |
| 136 | +# version: ${{ env.ZIG_VERSION }} |
| 137 | + |
| 138 | +# - uses: actions/setup-python@v5 |
| 139 | +# with: |
| 140 | +# python-version: '3.11' |
| 141 | + |
| 142 | +# - uses: actions/checkout@v4 |
| 143 | +# with: |
| 144 | +# submodules: recursive |
| 145 | +# fetch-depth: 0 |
| 146 | + |
| 147 | +# - name: Read version |
| 148 | +# id: read-version |
| 149 | +# run: | |
| 150 | +# echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT" |
| 151 | + |
| 152 | +# - run: zig build get-tools |
| 153 | +# - run: zig build get-v8 |
| 154 | +# - run: zig build -Doptimize=ReleaseSafe |
| 155 | +# - 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 |
| 156 | + |
| 157 | +# - name: Upload the build |
| 158 | +# uses: ncipollo/release-action@v1 |
| 159 | +# with: |
| 160 | +# allowUpdates: true |
| 161 | +# artifacts: libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a |
0 commit comments