mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-21 09:09:43 +01:00
CI: Migrate to SLR Sniper SDK for Linux builds
This commit is contained in:
parent
11d0e7f91e
commit
94620d809e
1 changed files with 9 additions and 14 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
@ -64,41 +64,36 @@ jobs:
|
|||
run: ninja -C ${SRC_DIR_PATH}/build
|
||||
|
||||
build-lin:
|
||||
name: Build (CentOS 7)
|
||||
name: Build (Steam Linux Runtime Sniper)
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/infoteddy/vvvvvv-build@sha256:50a2f769db3ca180286e9a76c1bf06b7016544a78e1fc7a9a0cc1144c675ced1
|
||||
|
||||
env:
|
||||
CXXFLAGS: -I/usr/local/include/SDL2
|
||||
LDFLAGS: -L/usr/local/lib
|
||||
container: registry.gitlab.steamos.cloud/steamrt/sniper/sdk:beta
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: CMake configure (default version)
|
||||
run: |
|
||||
mkdir ${SRC_DIR_PATH}/build && cd ${SRC_DIR_PATH}/build
|
||||
cmake ..
|
||||
cmake -G Ninja ..
|
||||
- name: Build (default version)
|
||||
run: make -j $(nproc) -C ${SRC_DIR_PATH}/build
|
||||
run: ninja -C ${SRC_DIR_PATH}/build
|
||||
|
||||
- name: CMake configure (official)
|
||||
run: |
|
||||
cd ${SRC_DIR_PATH}/build
|
||||
cmake -DOFFICIAL_BUILD=ON ..
|
||||
cmake -G Ninja -DOFFICIAL_BUILD=ON ..
|
||||
- name: Build (official)
|
||||
run: |
|
||||
make -j $(nproc) -C ${SRC_DIR_PATH}/build
|
||||
run: ninja -C ${SRC_DIR_PATH}/build
|
||||
|
||||
- name: CMake configure (M&P)
|
||||
run: |
|
||||
cd ${SRC_DIR_PATH}/build
|
||||
cmake -DOFFICIAL_BUILD=OFF -DMAKEANDPLAY=ON ..
|
||||
cmake -G Ninja -DOFFICIAL_BUILD=OFF -DMAKEANDPLAY=ON ..
|
||||
- name: Build (M&P)
|
||||
run: make -j $(nproc) -C ${SRC_DIR_PATH}/build
|
||||
run: ninja -C ${SRC_DIR_PATH}/build
|
||||
|
||||
build-win:
|
||||
name: Build (windows-latest)
|
||||
|
|
Loading…
Reference in a new issue