mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 01:29: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
|
run: ninja -C ${SRC_DIR_PATH}/build
|
||||||
|
|
||||||
build-lin:
|
build-lin:
|
||||||
name: Build (CentOS 7)
|
name: Build (Steam Linux Runtime Sniper)
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/infoteddy/vvvvvv-build@sha256:50a2f769db3ca180286e9a76c1bf06b7016544a78e1fc7a9a0cc1144c675ced1
|
container: registry.gitlab.steamos.cloud/steamrt/sniper/sdk:beta
|
||||||
|
|
||||||
env:
|
|
||||||
CXXFLAGS: -I/usr/local/include/SDL2
|
|
||||||
LDFLAGS: -L/usr/local/lib
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: CMake configure (default version)
|
- name: CMake configure (default version)
|
||||||
run: |
|
run: |
|
||||||
mkdir ${SRC_DIR_PATH}/build && cd ${SRC_DIR_PATH}/build
|
mkdir ${SRC_DIR_PATH}/build && cd ${SRC_DIR_PATH}/build
|
||||||
cmake ..
|
cmake -G Ninja ..
|
||||||
- name: Build (default version)
|
- name: Build (default version)
|
||||||
run: make -j $(nproc) -C ${SRC_DIR_PATH}/build
|
run: ninja -C ${SRC_DIR_PATH}/build
|
||||||
|
|
||||||
- name: CMake configure (official)
|
- name: CMake configure (official)
|
||||||
run: |
|
run: |
|
||||||
cd ${SRC_DIR_PATH}/build
|
cd ${SRC_DIR_PATH}/build
|
||||||
cmake -DOFFICIAL_BUILD=ON ..
|
cmake -G Ninja -DOFFICIAL_BUILD=ON ..
|
||||||
- name: Build (official)
|
- name: Build (official)
|
||||||
run: |
|
run: ninja -C ${SRC_DIR_PATH}/build
|
||||||
make -j $(nproc) -C ${SRC_DIR_PATH}/build
|
|
||||||
|
|
||||||
- name: CMake configure (M&P)
|
- name: CMake configure (M&P)
|
||||||
run: |
|
run: |
|
||||||
cd ${SRC_DIR_PATH}/build
|
cd ${SRC_DIR_PATH}/build
|
||||||
cmake -DOFFICIAL_BUILD=OFF -DMAKEANDPLAY=ON ..
|
cmake -G Ninja -DOFFICIAL_BUILD=OFF -DMAKEANDPLAY=ON ..
|
||||||
- name: Build (M&P)
|
- name: Build (M&P)
|
||||||
run: make -j $(nproc) -C ${SRC_DIR_PATH}/build
|
run: ninja -C ${SRC_DIR_PATH}/build
|
||||||
|
|
||||||
build-win:
|
build-win:
|
||||||
name: Build (windows-latest)
|
name: Build (windows-latest)
|
||||||
|
|
Loading…
Reference in a new issue