File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed
Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change @@ -117,37 +117,23 @@ jobs:
117117 with :
118118 submodules : true
119119
120- - name : start docker
121- run : |
122- if [[ "${{ matrix.docker_platform }}" == "ubuntu-24.04-arm" ]]; then
123- platform="--platform=linux/arm64"
124- fi
125- docker run -w /src -dit $platform --name alpine -v $PWD:/src node:lts-alpine
126- echo 'docker exec alpine "$@";' > ./alpine.sh
127- chmod +x ./alpine.sh
128-
129120 - name : install packages
130121 run : |
131- ./alpine.sh apk update
132- ./alpine.sh apk add build-base cmake git python3 clang ninja py3-pip
133-
134- - name : avoid d8 tests (jsvu is not compatible with alpine)
135- run : |
136- ./alpine.sh rm -Rf test/lit/d8
122+ sudo apt-get install ninja-build clang lld
137123
138124 - name : install python dev dependencies
139- run : ./alpine.sh pip3 install --break-system-packages -r requirements-dev.txt
125+ run : pip3 install -r requirements-dev.txt
140126
141127 - name : cmake
142128 run : |
143- ./alpine.sh cmake . -G Ninja -DCMAKE_CXX_FLAGS="-static" -DCMAKE_C_FLAGS="-static" - DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC_LIB=ON -DCMAKE_INSTALL_PREFIX=install
129+ cmake . -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC_LIB=ON -DCMAKE_INSTALL_PREFIX=install -DBYN_ENABLE_LTO=ON
144130
145131 - name : build
146132 run : |
147- ./alpine.sh ninja install
133+ ninja install
148134
149135 - name : test
150- run : ./alpine.sh python3 ./check.py
136+ run : python3 ./check.py
151137
152138 - name : archive
153139 id : archive
You can’t perform that action at this time.
0 commit comments