aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorStephan Walter <stephan@walter.name>2023-04-24 15:38:26 +0000
committerGitHub <noreply@github.com>2023-04-24 15:38:26 +0000
commit2ec83428de7a876ecbbe484e1de42b73b5a40e25 (patch)
tree3d61cc1577d09c2de126b521bb1e6b707800dd8c /.github/workflows
parente4cf982e0d4fcfbb4b977a52dbeacd115da10c3b (diff)
Fix build for gcc 8 and test in CI (#1154)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7c40b0c..1790805 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,8 +19,8 @@ env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
- ubuntu-latest-make:
- runs-on: ubuntu-latest
+ ubuntu-focal-make:
+ runs-on: ubuntu-20.04
steps:
- name: Clone
@@ -31,12 +31,12 @@ jobs:
id: depends
run: |
sudo apt-get update
- sudo apt-get install build-essential
+ sudo apt-get install build-essential gcc-8
- name: Build
id: make_build
run: |
- make
+ CC=gcc-8 make
ubuntu-latest-cmake:
runs-on: ubuntu-latest
@@ -216,7 +216,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- - ubuntu-latest-make
+ - ubuntu-focal-make
- ubuntu-latest-cmake
- macOS-latest-make
- macOS-latest-cmake