Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI build for Ubuntu 18.04 #246

Merged
merged 7 commits into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,20 @@ jobs:
os: macos-latest

steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v4
if: matrix.name != 'gcc-6'

- name: Checkout (Ubuntu 18.04)
if: matrix.name == 'gcc-6'
# Recent versions of Github's checkout action do not run on older Ubuntu versions because they use a too recent
# Node.js version. Thus, we have to checkout the code manually.
run: |
apt-get update
apt-get install -y git
git config --global --add safe.directory '*'
git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" .
git checkout $GITHUB_HEAD_REF

- name: Setup (macOS)
if: matrix.name == 'clang-macOS'
Expand Down