Skip to content

Commit

Permalink
CI: Upgrade Ubuntu to 24.04
Browse files Browse the repository at this point in the history
- Skip vcpkg steps for Linux since they're not needed anymore.
- Update dependencies required for install.

Signed-off-by: Avery King <[email protected]>
  • Loading branch information
generic-pers0n committed Nov 25, 2024
1 parent 6e6cedc commit a4ffa4e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cmake_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down
7 changes: 7 additions & 0 deletions scripts/ci/dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4ffa4e

Please sign in to comment.