Update CI to run on Ubuntu 22.04 and 24.04
This commit is contained in:
parent
a2e364e5e7
commit
32c3e92166
|
|
@ -3,18 +3,6 @@ name: C CI
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ubuntu20:
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
env:
|
|
||||||
CC: gcc
|
|
||||||
CXX: g++
|
|
||||||
CXXFLAGS: -Werror -Wall -pedantic
|
|
||||||
BUILD_TYPE: Debug
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: ./.github/actions/install-ubuntu
|
|
||||||
- uses: ./.github/actions/build
|
|
||||||
|
|
||||||
ubuntu22:
|
ubuntu22:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
|
|
@ -27,11 +15,11 @@ jobs:
|
||||||
- uses: ./.github/actions/install-ubuntu
|
- uses: ./.github/actions/install-ubuntu
|
||||||
- uses: ./.github/actions/build
|
- uses: ./.github/actions/build
|
||||||
|
|
||||||
ubuntu22-clang:
|
ubuntu24:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
CC: clang-15
|
CC: gcc
|
||||||
CXX: clang++-15
|
CXX: g++
|
||||||
CXXFLAGS: -Werror -Wall -pedantic
|
CXXFLAGS: -Werror -Wall -pedantic
|
||||||
BUILD_TYPE: Debug
|
BUILD_TYPE: Debug
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -39,8 +27,20 @@ jobs:
|
||||||
- uses: ./.github/actions/install-ubuntu
|
- uses: ./.github/actions/install-ubuntu
|
||||||
- uses: ./.github/actions/build
|
- uses: ./.github/actions/build
|
||||||
|
|
||||||
ubuntu22-release:
|
ubuntu24-clang:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
env:
|
||||||
|
CC: clang-18
|
||||||
|
CXX: clang++-18
|
||||||
|
CXXFLAGS: -Werror -Wall -pedantic
|
||||||
|
BUILD_TYPE: Debug
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: ./.github/actions/install-ubuntu
|
||||||
|
- uses: ./.github/actions/build
|
||||||
|
|
||||||
|
ubuntu24-release:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
env:
|
env:
|
||||||
CC: gcc
|
CC: gcc
|
||||||
CXX: g++
|
CXX: g++
|
||||||
|
|
|
||||||
|
|
@ -3,19 +3,6 @@ name: Java CI
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
maven-ubuntu20:
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- run: sudo apt-get install protobuf-compiler
|
|
||||||
- name: Set up JDK 8
|
|
||||||
uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
distribution: zulu
|
|
||||||
java-version: 8
|
|
||||||
- name: Build with Maven
|
|
||||||
run: mvn -B package --file pom.xml
|
|
||||||
|
|
||||||
maven-ubuntu22:
|
maven-ubuntu22:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -29,18 +16,18 @@ jobs:
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml
|
||||||
|
|
||||||
ant-ubuntu20:
|
maven-ubuntu24:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: sudo apt-get install protobuf-compiler libprotobuf-java
|
- run: sudo apt-get install protobuf-compiler
|
||||||
- name: Set up JDK 8
|
- name: Set up JDK 8
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: zulu
|
||||||
java-version: 8
|
java-version: 8
|
||||||
- name: Build with Ant
|
- name: Build with Maven
|
||||||
run: ant
|
run: mvn -B package --file pom.xml
|
||||||
|
|
||||||
ant-ubuntu22:
|
ant-ubuntu22:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
@ -55,3 +42,16 @@ jobs:
|
||||||
- name: Build with Ant
|
- name: Build with Ant
|
||||||
run: ant
|
run: ant
|
||||||
|
|
||||||
|
ant-ubuntu24:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- run: sudo apt-get install protobuf-compiler libprotobuf-java
|
||||||
|
- name: Set up JDK 8
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: zulu
|
||||||
|
java-version: 8
|
||||||
|
- name: Build with Ant
|
||||||
|
run: ant
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
cmake_minimum_required(VERSION 3.7)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
project(osmpbf VERSION 1.5.0)
|
project(osmpbf VERSION 1.5.0)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue