new music from gil #847
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
jobs: | |
client-windows: | |
name: Client on Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake -G "Ninja" -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl .. | |
- name: Build | |
run: cd build && ninja client | |
client-linux: | |
name: Client on Linux (Ubuntu) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install OpenGL | |
run: sudo apt-get update && sudo apt-get install --fix-missing cmake pkg-config mesa-utils libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libglew-dev libglfw3-dev libglm-dev libao-dev libmpg123-dev libxkbcommon-dev libxinerama-dev libxcursor-dev libxi-dev xvfb | |
- name: Install SFML | |
run: sudo apt-get update && sudo apt-get install libudev-dev libopenal-dev libvorbis-dev libflac-dev libfreetype-dev | |
- uses: actions/checkout@v4 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake .. | |
- name: Build | |
run: cd build && make client | |
server-windows: | |
name: Server on Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake -G "Ninja" -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl .. | |
- name: Build | |
run: cd build && ninja server | |
server-linux: | |
name: Server on Linux (Ubuntu) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install OpenGL | |
run: sudo apt-get update && sudo apt-get install --fix-missing cmake pkg-config mesa-utils libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libglew-dev libglfw3-dev libglm-dev libao-dev libmpg123-dev libxkbcommon-dev libxinerama-dev libxcursor-dev libxi-dev xvfb | |
- name: Install SFML | |
run: sudo apt-get update && sudo apt-get install libudev-dev libopenal-dev libvorbis-dev libflac-dev libfreetype-dev | |
- uses: actions/checkout@v4 | |
- name: Create build dir | |
run: mkdir -p build | |
- name: Run CMake | |
run: cd build && cmake .. | |
- name: Build | |
run: cd build && make server |