Merge remote-tracking branch 'gzdoom/master' into big_beautiful_merge
This commit is contained in:
commit
3fdd22ef91
1433 changed files with 484787 additions and 9566 deletions
45
.github/workflows/continuous_integration.yml
vendored
45
.github/workflows/continuous_integration.yml
vendored
|
|
@ -29,28 +29,40 @@ jobs:
|
|||
deps_cmdline: brew install libvpx
|
||||
build_type: Debug
|
||||
|
||||
- name: Linux GCC 9
|
||||
- name: Linux GCC 9 # oldest version available
|
||||
os: ubuntu-22.04
|
||||
extra_options: -DCMAKE_C_COMPILER=gcc-9 -DCMAKE_CXX_COMPILER=g++-9
|
||||
deps_cmdline: sudo apt update && sudo apt install libsdl2-dev libvpx-dev libgtk2.0-dev libwebp-dev
|
||||
build_type: MinSizeRel
|
||||
build_type: RelWithDebInfo
|
||||
|
||||
- name: Linux GCC 12
|
||||
- name: Linux GCC 12 # last known good
|
||||
os: ubuntu-22.04
|
||||
extra_options: -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12
|
||||
deps_cmdline: sudo apt update && sudo apt install libsdl2-dev libvpx-dev libgtk-3-dev libwebp-dev
|
||||
build_type: RelWithDebInfo
|
||||
|
||||
- name: Linux Clang 11
|
||||
- name: Linux GCC Latest # rolling default, not actually latest
|
||||
os: ubuntu-latest
|
||||
extra_options: -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
|
||||
deps_cmdline: sudo apt-get update && sudo apt-get install libsdl2-dev libvpx-dev libwebp-dev
|
||||
build_type: Release
|
||||
|
||||
- name: Linux Clang 11 # oldest version available
|
||||
os: ubuntu-22.04
|
||||
extra_options: -DCMAKE_C_COMPILER=clang-11 -DCMAKE_CXX_COMPILER=clang++-11 -DDYN_OPENAL=OFF
|
||||
deps_cmdline: sudo apt update && sudo apt install clang-11 libsdl2-dev libvpx-dev libopenal-dev libwebp-dev
|
||||
deps_cmdline: sudo apt-get update && sudo apt-get install clang-11 libsdl2-dev libvpx-dev libopenal-dev libwebp-dev
|
||||
build_type: Debug
|
||||
|
||||
- name: Linux Clang 15
|
||||
- name: Linux Clang 15 # last known good
|
||||
os: ubuntu-22.04
|
||||
extra_options: -DCMAKE_C_COMPILER=clang-15 -DCMAKE_CXX_COMPILER=clang++-15
|
||||
deps_cmdline: sudo apt update && sudo apt install clang-15 libsdl2-dev libvpx-dev libwebp-dev
|
||||
deps_cmdline: sudo apt-get update && sudo apt-get install clang-15 libsdl2-dev libvpx-dev libwebp-dev
|
||||
build_type: Release
|
||||
|
||||
- name: Linux Clang Latest # rolling default, not actually latest
|
||||
os: ubuntu-latest
|
||||
extra_options: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
|
||||
deps_cmdline: sudo apt-get update && sudo apt-get install libsdl2-dev libvpx-dev libwebp-dev
|
||||
build_type: Release
|
||||
|
||||
steps:
|
||||
|
|
@ -63,25 +75,20 @@ jobs:
|
|||
eval ${{ matrix.config.deps_cmdline }}
|
||||
fi
|
||||
mkdir build
|
||||
if [[ "${{ runner.os }}" == 'macOS' ]]; then
|
||||
export ZMUSIC_PACKAGE=zmusic-1.1.14-macos-arm.tar.xz
|
||||
elif [[ "${{ runner.os }}" == 'Linux' ]]; then
|
||||
export ZMUSIC_PACKAGE=zmusic-1.1.14-linux.tar.xz
|
||||
fi
|
||||
if [[ -n "${ZMUSIC_PACKAGE}" ]]; then
|
||||
cd build
|
||||
wget -q "https://github.com/coelckers/gzdoom/releases/download/ci_deps/${ZMUSIC_PACKAGE}"
|
||||
tar -xf "${ZMUSIC_PACKAGE}"
|
||||
fi
|
||||
|
||||
|
||||
- name: Git describe
|
||||
id: ghd
|
||||
uses: proudust/gh-describe@v2
|
||||
|
||||
- name: Configure
|
||||
shell: bash
|
||||
run: |
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DCMAKE_PREFIX_PATH=`pwd`/build/zmusic -DPK3_QUIET_ZIPDIR=ON ${{ matrix.config.extra_options }} .
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DPK3_QUIET_ZIPDIR=ON ${{ matrix.config.extra_options }} .
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
export GIT_DESCRIBE="${{ steps.ghd.outputs.describe }}"
|
||||
export MAKEFLAGS=--keep-going
|
||||
cmake --build build --config ${{ matrix.config.build_type }} --parallel 3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue