Skip to content

Commit

Permalink
fix: Ensure Linux builds are using 20.04 image
Browse files Browse the repository at this point in the history
Add small comment to force rebuild the parser libs.
  • Loading branch information
LBeernaertProton committed Nov 24, 2022
1 parent 6cb2205 commit 99b8414
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/parser-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
check:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
changed: ${{ steps.changed.outputs.any_changed }}
steps:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
check:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
outputs:
changed: ${{ steps.changed.outputs.any_changed }}
steps:
Expand All @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions internal/parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ add_subdirectory(grammar)
add_subdirectory(proto)
add_subdirectory(src)
add_subdirectory(tests)

#small comment to force-rebuild

0 comments on commit 99b8414

Please sign in to comment.