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 31, 2024
1 parent c42b688 commit 221d036
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 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 @@ -10,6 +10,7 @@ runs:
libboost-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libbz2-dev \
libgdal-dev \
libproj-dev \
libsparsehash-dev
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,19 +181,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/install-from-git
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ to work with the Osmium library.

You have to set up [Libosmium](https://osmcode.org/libosmium) first.

[![Build Status](https://github.com/osmcode/osmium-contrib/workflows/CI/badge.svg?branch=master)](https://github.com/osmcode/osmium-contrib/actions)
[![Build Status](https://github.com/osmcode/osmium-contrib/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/osmcode/osmium-contrib/actions)


## Building
Expand Down

0 comments on commit 221d036

Please sign in to comment.