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 : Build Ballistica Server (Release)
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-22.04
12+
13+ steps :
14+ - name : Checkout repo
15+ uses : actions/checkout@v4
16+
17+ - name : Set up deadsnakes PPA for Python 3.13
18+ run : |
19+ sudo apt update
20+ sudo apt install -y software-properties-common
21+ sudo add-apt-repository ppa:deadsnakes/ppa -y
22+ sudo apt update
23+ sudo apt install -y python3.13 python3.13-dev python3.13-venv python3-pip
24+
25+ - name : Install build dependencies
26+ run : |
27+ sudo apt install -y libopenal-dev libsdl2-dev libvorbis-dev cmake clang-format rsync build-essential ninja-build git
28+
29+ - name : Verify Python version
30+ run : |
31+ python3.13 --version
32+
33+ - name : Set Python 3.13 as default for python3
34+ run : |
35+ sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1
36+ python3 --version
37+
38+ - name : Build Ballistica server (Release)
39+ run : |
40+ CMAKE_BUILD_TYPE=Release make cmake-server
41+
42+ - name : Upload ba_server artifact
43+ uses : actions/upload-artifact@v4
44+ with :
45+ name : ba_server
46+ path : build/ba_server
You can’t perform that action at this time.
0 commit comments