File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -12,23 +12,14 @@ jobs:
1212 build :
1313 name : Build shared library
1414 runs-on : ubuntu-latest
15- container :
16- image : quay.io/pypa/manylinux2014_x86_64
17- options : --user root
1815
1916 steps :
2017 - name : Checkout repository
2118 uses : actions/checkout@v3
2219
23- - name : Install build dependencies (CMake)
20+ - name : Build in manylinux2014 container
2421 run : |
25- yum install -y cmake3
26- ln -sf /usr/bin/cmake3 /usr/bin/cmake
27-
28- - name : Configure & Build
29- run : |
30- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
31- cmake --build build -j$(nproc)
22+ docker run --rm -v "${{ github.workspace }}:/project" -w /project quay.io/pypa/manylinux2014_x86_64 /bin/bash -c "yum install -y cmake3 && ln -sf /usr/bin/cmake3 /usr/bin/cmake && cmake -S . -B build -DCMAKE_BUILD_TYPE=Release && cmake --build build -j\$(nproc)"
3223
3324 - name : Upload library artifact
3425 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments