mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Keep Ubuntu 18.04, but without sql tests
This commit is contained in:
parent
01b1dbfc2e
commit
c7fee1135f
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest, ubuntu-20.04]
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest, ubuntu-18.04]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
cmake-args: -G "Unix Makefiles"
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
env:
|
||||
CFLAGS: -Wdeclaration-after-statement -Werror
|
||||
CXXFLAGS: -Werror
|
||||
- os: ubuntu-20.04
|
||||
- os: ubuntu-18.04
|
||||
cmake-path: /usr/bin/
|
||||
cmake-args: -G "Unix Makefiles"
|
||||
package-file: DDNet-*-linux_x86_64.tar.xz
|
||||
|
@ -32,6 +32,7 @@ jobs:
|
|||
env:
|
||||
CFLAGS: -Wdeclaration-after-statement -Werror
|
||||
CXXFLAGS: -Werror
|
||||
GTEST_FILTER: -Sql*
|
||||
- os: macOS-latest
|
||||
cmake-args: -G "Unix Makefiles"
|
||||
build-args: --parallel
|
||||
|
@ -92,6 +93,7 @@ jobs:
|
|||
${{ matrix.cmake-path }}cmake ${{ matrix.cmake-args }} -DCMAKE_BUILD_TYPE=Debug -Werror=dev -DDOWNLOAD_GTEST=ON -DDEV=ON -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=. ..
|
||||
${{ matrix.cmake-path }}cmake --build . --config Debug --target everything ${{ matrix.build-args }}
|
||||
- name: Test debug
|
||||
env: ${{ matrix.env }}
|
||||
run: |
|
||||
cd debug
|
||||
${{ matrix.cmake-path }}cmake --build . --config Debug --target run_tests ${{ matrix.build-args }}
|
||||
|
@ -105,6 +107,7 @@ jobs:
|
|||
${{ matrix.cmake-path }}cmake ${{ matrix.cmake-args }} -DCMAKE_BUILD_TYPE=Release -Werror=dev -DDOWNLOAD_GTEST=ON -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=. ..
|
||||
${{ matrix.cmake-path }}cmake --build . --config Release --target everything ${{ matrix.build-args }}
|
||||
- name: Test release
|
||||
env: ${{ matrix.env }}
|
||||
run: |
|
||||
cd release
|
||||
${{ matrix.cmake-path }}cmake --build . --config Release --target run_tests ${{ matrix.build-args }}
|
||||
|
@ -134,6 +137,7 @@ jobs:
|
|||
${{ matrix.cmake-path }}cmake --build . --config RelWithDebInfo --target everything ${{ matrix.build-args }}
|
||||
- name: Test fancy
|
||||
if: matrix.fancy
|
||||
env: ${{ matrix.env }}
|
||||
run: |
|
||||
cd fancy
|
||||
${{ matrix.cmake-path }}cmake --build . --config RelWithDebInfo --target run_tests ${{ matrix.build-args }}
|
||||
|
|
Loading…
Reference in a new issue