From 99b8414cd601b2a18668073aee4770b59c4a81fc Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Thu, 24 Nov 2022 16:42:55 +0100 Subject: [PATCH] fix: Ensure Linux builds are using 20.04 image Add small comment to force rebuild the parser libs. --- .github/workflows/parser-build-and-push.yml | 8 ++++---- .github/workflows/pull-request.yml | 6 +++--- internal/parser/CMakeLists.txt | 2 ++ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/parser-build-and-push.yml b/.github/workflows/parser-build-and-push.yml index 7142c118..c2efa00f 100644 --- a/.github/workflows/parser-build-and-push.yml +++ b/.github/workflows/parser-build-and-push.yml @@ -6,7 +6,7 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 outputs: changed: ${{ steps.changed.outputs.any_changed }} steps: @@ -26,7 +26,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, macos-12, windows-latest] + os: [ubuntu-20.04, macos-12, windows-latest] runs-on: ${{ matrix.os }} needs: check steps: @@ -42,7 +42,7 @@ jobs: artifact-name: ${{ matrix.os }}-libs commit: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 needs: [build, check] steps: - name: Get sources @@ -58,7 +58,7 @@ jobs: if: needs.check.outputs.changed == 'true' uses: actions/download-artifact@v3 with: - name: ubuntu-latest-libs + name: ubuntu-20.04-libs path: internal/parser/lib - name: Download macOS static libs diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index ff049340..30ea21cb 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -6,7 +6,7 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 outputs: changed: ${{ steps.changed.outputs.any_changed }} steps: @@ -29,7 +29,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, macos-12, windows-latest] + os: [ubuntu-20.04, macos-12, windows-latest] runs-on: ${{ matrix.os }} needs: check steps: @@ -51,7 +51,7 @@ jobs: test: strategy: matrix: - os: [ubuntu-latest, macos-12, windows-latest] + os: [ubuntu-20.04, macos-12, windows-latest] runs-on: ${{ matrix.os }} needs: [build, check] steps: diff --git a/internal/parser/CMakeLists.txt b/internal/parser/CMakeLists.txt index a8a484f9..81a83e7d 100644 --- a/internal/parser/CMakeLists.txt +++ b/internal/parser/CMakeLists.txt @@ -32,3 +32,5 @@ add_subdirectory(grammar) add_subdirectory(proto) add_subdirectory(src) add_subdirectory(tests) + +#small comment to force-rebuild