mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
Build github artifacts using Ninja (#479)
This commit is contained in:
parent
5417e6c820
commit
8dc4084430
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -52,13 +52,13 @@ jobs:
|
|||||||
- name: Build on Linux
|
- name: Build on Linux
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
run: |
|
run: |
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake -DCMAKE_BUILD_TYPE=Release -DPOLLY=ON -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DCMAKE_INSTALL_PREFIX="$PWD/dist"
|
schroot --chroot steamrt_scout_i386 -- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DPOLLY=ON -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DCMAKE_INSTALL_PREFIX="$PWD/dist"
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake --build build --target all
|
schroot --chroot steamrt_scout_i386 -- cmake --build build --target all
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake --build build --target install
|
schroot --chroot steamrt_scout_i386 -- cmake --build build --target install
|
||||||
- name: Build on Linux with vgui
|
- name: Build on Linux with vgui
|
||||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.cc, 'gcc')
|
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.cc, 'gcc')
|
||||||
run: |
|
run: |
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake -DCMAKE_BUILD_TYPE=Release -DPOLLY=ON -B build-vgui -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="$PWD/dist-vgui"
|
schroot --chroot steamrt_scout_i386 -- cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DPOLLY=ON -B build-vgui -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DUSE_VGUI=ON -DCMAKE_INSTALL_PREFIX="$PWD/dist-vgui"
|
||||||
cp vgui_support/vgui-dev/lib/vgui.so build-vgui/cl_dll
|
cp vgui_support/vgui-dev/lib/vgui.so build-vgui/cl_dll
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target all
|
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target all
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target install
|
schroot --chroot steamrt_scout_i386 -- cmake --build build-vgui --target install
|
||||||
|
2
.github/workflows/manual.yml
vendored
2
.github/workflows/manual.yml
vendored
@ -67,7 +67,7 @@ jobs:
|
|||||||
- name: Build on Linux
|
- name: Build on Linux
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
run: |
|
run: |
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DCMAKE_BUILD_TYPE=${{ github.event.inputs.buildtype }} -DCMAKE_INSTALL_PREFIX="$PWD/dist" -DUSE_VGUI=${{ github.event.inputs.usevgui }}
|
schroot --chroot steamrt_scout_i386 -- cmake -GNinja -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-Wl,--no-undefined" -DCMAKE_BUILD_TYPE=${{ github.event.inputs.buildtype }} -DCMAKE_INSTALL_PREFIX="$PWD/dist" -DUSE_VGUI=${{ github.event.inputs.usevgui }}
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake --build build --target all
|
schroot --chroot steamrt_scout_i386 -- cmake --build build --target all
|
||||||
schroot --chroot steamrt_scout_i386 -- cmake --build build --target install
|
schroot --chroot steamrt_scout_i386 -- cmake --build build --target install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user