File tree Expand file tree Collapse file tree 1 file changed +40
-2
lines changed Expand file tree Collapse file tree 1 file changed +40
-2
lines changed Original file line number Diff line number Diff line change 1919 OS : linux
2020 ARCH : x86_64
2121
22- runs-on : ubuntu-22 .04
22+ runs-on : ubuntu-24 .04
2323 steps :
2424 - uses : mlugg/setup-zig@v1
2525 with :
3535 run : |
3636 echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
3737
38- - run : sudo apt-get install -yq libglib2.0-dev
38+ - run : |
39+ sudo apt-get update
40+ sudo apt-get install -yq libglib2.0-dev
3941
4042 - run : zig build get-tools
4143 - run : zig build get-v8
8385 with :
8486 allowUpdates : true
8587 artifacts : libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
88+
89+ build-arm64-linux :
90+ env :
91+ OS : linux
92+ ARCH : aarch64
93+
94+ runs-on : ubuntu-24.04-arm
95+ steps :
96+ - uses : mlugg/setup-zig@v1
97+ with :
98+ version : ${{ env.ZIG_VERSION }}
99+
100+ - uses : actions/checkout@v4
101+ with :
102+ submodules : recursive
103+ fetch-depth : 0
104+
105+ - name : Read version
106+ id : read-version
107+ run : |
108+ echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
109+
110+ - run : |
111+ sudo apt-get update
112+ sudo apt-get install -yq libglib2.0-dev
113+
114+ - run : zig build get-tools
115+ - run : zig build get-v8
116+ - run : zig build -Doptimize=ReleaseSafe
117+ - 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+
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
You can’t perform that action at this time.
0 commit comments