Skip to content

Commit ca45f92

Browse files
ci: TEMP native Linux build validation
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent a68f1ac commit ca45f92

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI linux validate (temp)
2+
3+
# TEMP: prove the coop code builds natively on Linux (GCC) before folding a
4+
# build-linux job into ci-main. Remove this file once validated.
5+
on:
6+
push:
7+
branches: [ci/linux-build]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build-linux:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 60
14+
steps:
15+
- name: Install deps
16+
run: |
17+
set -euxo pipefail
18+
sudo apt-get update
19+
sudo apt-get install -y \
20+
cmake g++ make zip \
21+
libsdl1.2-dev libsdl-mixer1.2-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev \
22+
libyaml-cpp-dev libjsoncpp-dev libsodium-dev zlib1g-dev
23+
24+
- uses: actions/checkout@v4
25+
with: { fetch-depth: 0, submodules: recursive }
26+
27+
- name: Configure + build (Linux x64)
28+
run: |
29+
set -euxo pipefail
30+
rm -rf build && mkdir -p build && cd build
31+
cmake -DCMAKE_BUILD_TYPE=Release -DDEV_BUILD=OFF -DBUILD_PACKAGE=OFF "$GITHUB_WORKSPACE"
32+
make -j"$(nproc)"
33+
ls -la bin/

0 commit comments

Comments
 (0)