File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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/
You can’t perform that action at this time.
0 commit comments