Skip to content

Commit

Permalink
Github actions: Modernize CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Oct 27, 2024
1 parent dd9badc commit fc0128b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/actions/install-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ runs:
run: |
sudo apt-get update -qq
sudo apt-get install -yq \
libbz2-dev \
libgdal-dev \
libgeos-dev \
pandoc \
Expand Down
19 changes: 6 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,19 +185,12 @@ jobs:
- uses: ./.github/actions/ctest

ubuntu-latest:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
CC: clang-15
CXX: clang++-15
CC: clang-18
CXX: clang++-18
BUILD_TYPE: Dev
steps:
- name: Install new clang
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/llvm-snapshot.asc
sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main'
sudo apt-get update -qq
sudo apt-get install -yq clang-15
shell: bash
- uses: actions/checkout@v4
- uses: ./.github/actions/install-ubuntu
- uses: ./.github/actions/cmake
Expand All @@ -209,11 +202,11 @@ jobs:
fail-fast: false
matrix:
os:
- "macos-12"
- "macos-13"
- "macos-14"
- "macos-15"
build_type: [Dev]
include:
- os: "macos-12"
- os: "macos-14"
build_type: Release
runs-on: ${{ matrix.os }}
env:
Expand Down

0 comments on commit fc0128b

Please sign in to comment.