From a4ffa4e15c5f5afab3627c0cd7c737877c2ed98a Mon Sep 17 00:00:00 2001 From: Avery King Date: Thu, 5 Sep 2024 15:03:14 -0700 Subject: [PATCH] CI: Upgrade Ubuntu to 24.04 - Skip vcpkg steps for Linux since they're not needed anymore. - Update dependencies required for install. Signed-off-by: Avery King --- .github/workflows/cmake_build.yml | 8 +++++--- scripts/ci/dependencies.sh | 7 +++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cmake_build.yml b/.github/workflows/cmake_build.yml index ed9a93d0a9..f985e4c3a1 100644 --- a/.github/workflows/cmake_build.yml +++ b/.github/workflows/cmake_build.yml @@ -26,14 +26,14 @@ jobs: matrix: config: - name: Ubuntu - os: ubuntu-latest + os: ubuntu-24.04 arch: x86_64 # as reported by `arch` or `uname -m` generator: Ninja cc: cc cxx: c++ compiler_cache: ccache compiler_cache_path: ~/.ccache - use_vcpkg: ON + use_vcpkg: OFF vcpkg_binary_cache: ~/.cache/vcpkg vcpkg_triplet: x64-linux-dynamic @@ -161,6 +161,7 @@ jobs: - name: Setup vcpkg cache uses: actions/cache@v4 + if: runner.os != 'Linux' with: # cache the vcpkg executable to avoid having to bootstrap vcpkg every time path: | @@ -224,7 +225,7 @@ jobs: && rm -r package/_CPack_Packages env: # VCPKG_LIB_PATH is the location that vcpkg stores its libs once built - VCPKG_LIB_PATH: ${{ github.workspace }}/build/vcpkg_installed/x64-linux-dynamic/debug/lib + VCPKG_LIB_PATH: "" - name: Upload package artifact uses: actions/upload-artifact@v4 @@ -236,6 +237,7 @@ jobs: if-no-files-found: error - name: Upload artifact of vcpkg build logs + if: runner.os != 'Linux' uses: actions/upload-artifact@v4 with: name: vcpkg-logs-${{ runner.os }}-${{ matrix.config.arch }} diff --git a/scripts/ci/dependencies.sh b/scripts/ci/dependencies.sh index f82d389df2..91ed81bbe0 100755 --- a/scripts/ci/dependencies.sh +++ b/scripts/ci/dependencies.sh @@ -72,6 +72,13 @@ else # Linux & others libtiff-dev liblzma-dev libsqlite3-dev + libwxgtk3.2-dev + libzip-dev + wx-common + wx3.2-headers + zipcmp + zipmerge + ziptool ) sudo apt-get update -y