Skip to content

Commit eef16ed

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 72473b7 + 2406ac3 commit eef16ed

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest, windows-latest]
16+
os: [ubuntu-18.04, windows-latest]
1717

1818
steps:
1919
- uses: actions/checkout@v2
@@ -29,10 +29,9 @@ jobs:
2929
run: |
3030
sudo apt-get install libgles2-mesa-dev libx11-dev
3131
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
32-
-Dramses-logic_PACKAGE_TYPE=DEB \
33-
-DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/toolchain/Linux_X86_64_llvm.toolchain
32+
-Dramses-logic_PACKAGE_TYPE=DEB
3433
cmake --build . --target package --config $BUILD_TYPE
35-
if: ${{ matrix.os == 'ubuntu-latest' }}
34+
if: ${{ matrix.os == 'ubuntu-18.04' }}
3635

3736
- name: Build and package (Windows)
3837
shell: bash

.github/workflows/test.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ env:
1616
jobs:
1717
build:
1818
runs-on: ${{ matrix.os }}
19+
# Strategy: builds on oldest and newest Ubuntu and on Windows
20+
# Oldest -> because that's what is used to build backwards compatible packages (see release.yaml)
21+
# Newest -> so that we can test with latest tools (clang-tidy) and use recent drivers/packages
1922
strategy:
2023
matrix:
21-
os: [ubuntu-latest, windows-latest]
24+
os: [ubuntu-18.04, ubuntu-latest, windows-latest]
2225

2326
steps:
2427
- uses: actions/checkout@v2
@@ -28,7 +31,7 @@ jobs:
2831
- name: Install GL/X11 packages for rendering (Linux only)
2932
run: |
3033
sudo apt-get install libgles2-mesa-dev libx11-dev
31-
if: ${{ matrix.os == 'ubuntu-latest' }}
34+
if: ${{ contains(matrix.os, 'ubuntu') }}
3235

3336
- name: Install clang and clang-tidy
3437
run: |
@@ -47,7 +50,7 @@ jobs:
4750
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
4851
if: ${{ matrix.os == 'windows-latest' }}
4952

50-
- name: Configure CMake (Linux)
53+
- name: Configure CMake (Latest Ubuntu + Clang)
5154
shell: bash
5255
working-directory: ${{runner.workspace}}/build
5356
run: |
@@ -57,6 +60,14 @@ jobs:
5760
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
5861
if: ${{ matrix.os == 'ubuntu-latest' }}
5962

63+
- name: Configure CMake (Oldest Ubuntu + GCC)
64+
shell: bash
65+
working-directory: ${{runner.workspace}}/build
66+
run: |
67+
cmake $GITHUB_WORKSPACE \
68+
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
69+
if: ${{ matrix.os == 'ubuntu-18.04' }}
70+
6071
- name: Build
6172
working-directory: ${{runner.workspace}}/build
6273
shell: bash

0 commit comments

Comments
 (0)