Skip to content

Commit

Permalink
github: Upgrade to Ubuntu 24.04.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfonseca committed Aug 31, 2024
1 parent 6fe13b1 commit d5f2aea
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,18 @@ jobs:
if-no-files-found: error

build-cross-gcc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: recursive
- run: sudo dpkg --add-architecture i386
# Workaround https://github.com/actions/virtual-environments/issues/4589
- run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -qq
sudo apt-get install -yqq --allow-downgrades libgd3/jammy libpcre2-8-0/jammy libpcre2-16-0/jammy libpcre2-32-0/jammy libpcre2-posix3/jammy
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libzip4
- run: sudo apt-get install -yqq --install-recommends mingw-w64 ninja-build cmake xinit xvfb wine wine64 wine32:i386
- run: ci/build.sh

build-cross-clang:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -77,12 +71,6 @@ jobs:
path: downloads/*.xz
key: ${{ runner.os }}-${{ hashFiles('ci/dependencies-clang.sh') }}
- run: sudo dpkg --add-architecture i386
# Workaround https://github.com/actions/virtual-environments/issues/4589
- run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update -qq
sudo apt-get install -yqq --allow-downgrades libgd3/jammy libpcre2-8-0/jammy libpcre2-16-0/jammy libpcre2-32-0/jammy libpcre2-posix3/jammy
sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libzip4
- run: sudo apt-get install -yqq --install-recommends ninja-build cmake xinit xvfb wine wine64 wine32:i386
- run: ci/build-clang.sh
- name: Upload artifact
Expand Down

0 comments on commit d5f2aea

Please sign in to comment.