Skip to content

Commit 641d328

Browse files
committed
ci: Remove retired ubuntu 20.04 from github actions
1 parent 3c40d10 commit 641d328

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ env:
3434
BOOST_VERSION: 1.88.0
3535
BOOST_VERSION_UNDERSCORE: 1_88_0
3636
OPENCL_VERSION: 2024.10.24
37-
UBUNTU2004_GCC_VERSION: 10
3837
# EIGEN: tested, working commit from Jun 18, 2024:
3938
EIGEN_LONGREF: d791d48859c6fc7850c9fd5270d2b236c818068d
4039
EIGEN_SHORTREF: d791d48859c6
@@ -46,7 +45,7 @@ jobs:
4645
strategy:
4746
fail-fast: false
4847
matrix:
49-
os: [macos-13, macos-latest, ubuntu-latest, ubuntu-20.04, ubuntu-24.04-arm, windows-latest]
48+
os: [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest]
5049

5150
steps:
5251

@@ -57,34 +56,6 @@ jobs:
5756
fetch-tags: true
5857
fetch-depth: 0
5958

60-
# On Ubuntu 20.04
61-
# - we cannot use the standard g++9 because it's not fully C++20 compatible yet (e.g. <numbers> header is not available on g++-9)
62-
# - install g++ 11
63-
# - update open_iA cmake config to use it
64-
# - explored option 1:
65-
# echo "OPENIA_CMAKE_OPTIONS=-DCMAKE_C_COMPILER=/usr/bin/gcc-11 -DCMAKE_CXX_COMPILER=/usr/bin/g++-11 ${{env.OPENIA_CMAKE_OPTIONS}}" >> "$GITHUB_ENV"
66-
# -> linker problem (https://github.com/3dct/open_iA/actions/runs/13563745786/job/37912093841 :
67-
# /usr/bin/ld: ../bin/libiAio.so: undefined reference to `__isoc23_sscanf'
68-
# /usr/bin/ld: ../bin/libiAio.so: undefined reference to `__isoc23_strtol'
69-
# - maybe not all necessary commands where used -> just set g++ 11 as default!
70-
# - set up alternatives for gcc and depending commands: https://stackoverflow.com/a/67453352
71-
# - scripted (non-interactive) setting of alternative: https://stackoverflow.com/a/70487421
72-
# - Also, aqt cannot install Qt > 6.8.0 there
73-
# - only aqt >= 3.1.19 can do that, but it's only available in version 3.1.18
74-
# - see https://github.com/miurahr/aqtinstall/issues/825
75-
- if: matrix.os == 'ubuntu-20.04'
76-
name: Set Qt version (Ubuntu 20.04)
77-
run: |
78-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
79-
sudo apt update
80-
sudo apt upgrade -y
81-
sudo apt install -y g++-${{env.UBUNTU2004_GCC_VERSION}}
82-
sudo update-alternatives --remove-all cpp
83-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9 --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-9 --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-9 --slave /usr/bin/cpp cpp /usr/bin/cpp-9
84-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{env.UBUNTU2004_GCC_VERSION}} ${{env.UBUNTU2004_GCC_VERSION}}0 --slave /usr/bin/g++ g++ /usr/bin/g++-${{env.UBUNTU2004_GCC_VERSION}} --slave /usr/bin/gcov gcov /usr/bin/gcov-${{env.UBUNTU2004_GCC_VERSION}} --slave /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-${{env.UBUNTU2004_GCC_VERSION}} --slave /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-${{env.UBUNTU2004_GCC_VERSION}} --slave /usr/bin/cpp cpp /usr/bin/cpp-${{env.UBUNTU2004_GCC_VERSION}}
85-
sudo update-alternatives --set gcc /usr/bin/gcc-${{env.UBUNTU2004_GCC_VERSION}}
86-
echo "QT_VERSION=6.7.3" >> "$GITHUB_ENV"
87-
8859
- if: runner.os == 'macOS'
8960
name: Set up required libraries (macOS)
9061
run: |

0 commit comments

Comments
 (0)