File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 8383 with :
8484 allowUpdates : true
8585 artifacts : libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
86+
87+ build-arm64-linux :
88+ env :
89+ OS : linux
90+ ARCH : aarch64
91+
92+ runs-on : ubuntu-22.04-arm
93+ steps :
94+ - name : install dependencies
95+ run : |
96+ sudo apt update
97+ sudo apt install clang
98+
99+ - uses : mlugg/setup-zig@v1
100+ with :
101+ version : ${{ env.ZIG_VERSION }}
102+
103+ - uses : actions/checkout@v4
104+ with :
105+ submodules : recursive
106+ fetch-depth : 0
107+
108+ - name : Read version
109+ id : read-version
110+ run : |
111+ echo "version=`cat V8_REVISION`" >> "$GITHUB_OUTPUT"
112+
113+ - run : sudo apt-get install -yq libglib2.0-dev
114+
115+ - run : zig build get-tools
116+ - run : zig build get-v8
117+ - run : zig build -Doptimize=ReleaseSafe
118+ - 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
119+
120+ - name : Upload the build
121+ uses : ncipollo/release-action@v1
122+ with :
123+ allowUpdates : true
124+ artifacts : libc_v8_${{steps.read-version.outputs.version}}_${{ env.OS }}_${{ env.ARCH }}.a
125+
You can’t perform that action at this time.
0 commit comments