Skip to content

Commit

Permalink
Update GH Actions jobs to use Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Dec 23, 2024
1 parent 301fa9c commit 6cc7532
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
jobs:
check:
name: Run checks
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -53,13 +53,20 @@ jobs:
name: Run tests
strategy:
matrix:
runs_on:
- ubuntu-22.04
- macos-14
runs-on: ${{ matrix.runs_on }}
platform:
- runs_on: ubuntu-24.04
# Allow unprivileged user namespaces
setup: |
echo 'kernel.apparmor_restrict_unprivileged_userns = 0' > /etc/sysctl.d/99-userns.conf
sysctl --system
- runs_on: macos-14
runs-on: ${{ matrix.platform.runs_on }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up runner
if: matrix.platform.setup
run: ${{ matrix.platform.setup }}
# Run tests in release mode. Running tests in debug mode uses a lot
# more disk space, so much so that it can cause the run to fail
- name: Run tests
Expand All @@ -71,10 +78,10 @@ jobs:
matrix:
platform:
- name: x86_64-linux
runs_on: ubuntu-22.04
runs_on: ubuntu-24.04
target: x86_64-unknown-linux-gnu
- name: aarch64-linux
runs_on: ubuntu-22.04
runs_on: ubuntu-24.04
target: aarch64-unknown-linux-gnu
features: openssl/vendored
install_deps: |
Expand Down Expand Up @@ -139,7 +146,7 @@ jobs:
name: Push artifacts
if: github.event_name == 'push' && github.repository == 'brioche-dev/brioche'
needs: [check, test, build]
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Download artifacts (x86_64-linux)
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 6cc7532

Please sign in to comment.