Skip to content

Commit

Permalink
Use boost for JSON parsing (#923)
Browse files Browse the repository at this point in the history
* Use boost for JSON parsing

- Add boost-json to bootstrap
- Remove Suse 15.2 and 15.3 - too old.
- Fedora versions before 39 are possibly too old to support boost json. There's no version history because these versions are out of support.
- Remove support for Jammy and Focal
- Make GitHub.ci run bootstrap
- code ql - restrict to run on ubuntu 24.04. ubuntu-latest includes focal and jammy.
- gh-actions-pr.yml - add sudo to bootstrap
- vcpkg.json - add json. Prevent fail on windows
- Upgrade from jammy to noble in github-actions.
- Remove old OSes.
- Fix cmake to use python38 instead of python3
- Disable rocky Linux due to bug
- Fix bookworm libboost-program-options to use version 1.81 and not 1.74
  • Loading branch information
royfalk authored Dec 26, 2024
1 parent 0929b86 commit 6340e27
Show file tree
Hide file tree
Showing 22 changed files with 331 additions and 2,458 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

strategy:
fail-fast: false
Expand Down
92 changes: 11 additions & 81 deletions .github/workflows/gh-actions-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [ pull_request ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
continue-on-error: ${{ matrix.allow_failure }}

defaults:
Expand Down Expand Up @@ -36,91 +36,16 @@ jobs:
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: true
- FROM: 'ubuntu:jammy'
COMPILER: 'gcc'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: false
- FROM: 'ubuntu:jammy'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: false
- FROM: 'ubuntu:focal'
COMPILER: 'gcc'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: false
- FROM: 'ubuntu:focal'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: false
- FROM: 'linuxmintd/mint22-amd64'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: true
- FROM: 'linuxmintd/mint21.3-amd64'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: true
- FROM: 'linuxmintd/mint21.2-amd64'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: true
- FROM: 'linuxmintd/mint21.1-amd64'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: true
- FROM: 'linuxmintd/mint21-amd64'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: false
- FROM: 'linuxmintd/mint20-amd64'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: false
- FROM: 'debian:bookworm'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: false
- FROM: 'debian:bullseye'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'OFF'
allow_failure: false
- FROM: 'opensuse/leap:15.6'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'LEGACY'
ENABLE_PIE: 'ON'
allow_failure: true
- FROM: 'opensuse/leap:15.6'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'ON'
allow_failure: true
- FROM: 'opensuse/leap:15.5'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'LEGACY'
ENABLE_PIE: 'ON'
allow_failure: true
- FROM: 'opensuse/leap:15.5'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'ON'
allow_failure: true
- FROM: 'opensuse/leap:15.4'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'ON'
allow_failure: false
- FROM: 'fedora:39'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'LEGACY'
Expand All @@ -141,11 +66,13 @@ jobs:
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'ON'
allow_failure: false
- FROM: 'rockylinux_rockylinux:9.4'
COMPILER: 'clang'
OpenGL_GL_PREFERENCE: 'GLVND'
ENABLE_PIE: 'ON'
allow_failure: false
# Removing rockylinux due to https://github.com/boostorg/mpl/issues/69
# TODO: add newer rocklinux (9.5?) when it comes out
# - FROM: 'rockylinux_rockylinux:9.4'
# COMPILER: 'clang'
# OpenGL_GL_PREFERENCE: 'GLVND'
# ENABLE_PIE: 'ON'
# allow_failure: false
# Disabled until the build can be fixed
#- FROM: 'rockylinux_rockylinux:8.10'
# COMPILER: 'clang'
Expand Down Expand Up @@ -193,6 +120,9 @@ jobs:
run: |
echo "${SHORT_SHA}"
- name: Execute bootstrap
run: sudo script/bootstrap

- name: Build and Test
env:
FROM: ${{ matrix.FROM }}
Expand Down
Loading

0 comments on commit 6340e27

Please sign in to comment.