mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 00:20:38 +00:00
- extend continuous integration workflow
This commit is contained in:
parent
9c23c0ac59
commit
10628e60cb
1 changed files with 20 additions and 3 deletions
23
.github/workflows/continuous_integration.yml
vendored
23
.github/workflows/continuous_integration.yml
vendored
|
@ -4,7 +4,7 @@ on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: ${{ matrix.config.name }}
|
name: ${{ matrix.config.name }} | ${{ matrix.config.build_type }}
|
||||||
runs-on: ${{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -16,6 +16,12 @@ jobs:
|
||||||
extra_options: "-A x64",
|
extra_options: "-A x64",
|
||||||
build_type: "Release"
|
build_type: "Release"
|
||||||
}
|
}
|
||||||
|
- {
|
||||||
|
name: "Visual Studio 64-bit",
|
||||||
|
os: windows-latest,
|
||||||
|
extra_options: "-A x64",
|
||||||
|
build_type: "Debug"
|
||||||
|
}
|
||||||
- {
|
- {
|
||||||
name: "Visual Studio 32-bit",
|
name: "Visual Studio 32-bit",
|
||||||
os: windows-latest,
|
os: windows-latest,
|
||||||
|
@ -34,6 +40,14 @@ jobs:
|
||||||
os: macos-latest,
|
os: macos-latest,
|
||||||
build_type: "Debug"
|
build_type: "Debug"
|
||||||
}
|
}
|
||||||
|
- {
|
||||||
|
name: "Linux GCC 5",
|
||||||
|
os: ubuntu-latest,
|
||||||
|
extra_options: "-DCMAKE_C_COMPILER=/usr/bin/gcc-5 -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 \
|
||||||
|
-DDYN_FLUIDSYNTH=OFF -DDYN_OPENAL=OFF -DDYN_SNDFILE=OFF -DDYN_MPG123=OFF",
|
||||||
|
deps_cmdline: "sudo apt update && sudo apt install g++-5 libsdl2-dev libopenal-dev libfluidsynth-dev libmpg123-dev libsndfile1-dev",
|
||||||
|
build_type: "MinSizeRel"
|
||||||
|
}
|
||||||
- {
|
- {
|
||||||
name: "Linux GCC 7",
|
name: "Linux GCC 7",
|
||||||
os: ubuntu-latest,
|
os: ubuntu-latest,
|
||||||
|
@ -46,7 +60,7 @@ jobs:
|
||||||
os: ubuntu-latest,
|
os: ubuntu-latest,
|
||||||
extra_options: "-DCMAKE_C_COMPILER=/usr/bin/gcc-9 -DCMAKE_CXX_COMPILER=/usr/bin/g++-9",
|
extra_options: "-DCMAKE_C_COMPILER=/usr/bin/gcc-9 -DCMAKE_CXX_COMPILER=/usr/bin/g++-9",
|
||||||
deps_cmdline: "sudo apt update && sudo apt install libsdl2-dev libgtk-3-dev",
|
deps_cmdline: "sudo apt update && sudo apt install libsdl2-dev libgtk-3-dev",
|
||||||
build_type: "RelWithDebInfo"
|
build_type: "Debug"
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
name: "Linux Clang 6",
|
name: "Linux Clang 6",
|
||||||
|
@ -91,9 +105,11 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
export MAKEFLAGS=--keep-going
|
||||||
cmake --build build --config ${{ matrix.config.build_type }} --parallel 3
|
cmake --build build --config ${{ matrix.config.build_type }} --parallel 3
|
||||||
|
|
||||||
- name: Create Package
|
- name: Create Package
|
||||||
|
if: runner.os == 'Windows' # Remove to make packages of all targets
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
|
@ -107,10 +123,11 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload Package
|
- name: Upload Package
|
||||||
|
if: runner.os == 'Windows' # Remove to store packages of all targets
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
path: build/package
|
path: build/package
|
||||||
name: ${{ matrix.config.name }}
|
name: ${{ matrix.config.name }} ${{ matrix.config.build_type }}
|
||||||
|
|
||||||
- name: List Build Directory
|
- name: List Build Directory
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in a new issue