Skip to content

Commit 7d06c01

Browse files
committed
Updating for Ubuntu 24.04 runner
1 parent 5f8f392 commit 7d06c01

File tree

17 files changed

+58
-60
lines changed

17 files changed

+58
-60
lines changed

.github/workflows/releaseDeploy.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
include:
1515
- os: windows-latest
1616
build-type: Release
17-
- os: ubuntu-latest
17+
- os: ubuntu-24.04
1818
build-type: Release
1919

2020
steps:
@@ -68,25 +68,24 @@ jobs:
6868

6969
- name: Configure CMake (Windows)
7070
if: matrix.os == 'windows-latest'
71-
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DRAYX_REQUIRE_CUDA=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
71+
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DRAYX_ENABLE_CUDA=OFF -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
7272

7373
# Linux-specific build steps
7474
- name: Install dependencies (Ubuntu)
75-
if: matrix.os == 'ubuntu-latest'
75+
if: matrix.os == 'ubuntu-24.04'
7676
run: |
7777
sudo apt update --yes
7878
sudo apt install --yes xorg-dev cmake libgtk-3-dev libdbus-1-dev libhdf5-dev libboost-dev
7979
8080
- name: Install Cuda (Ubuntu)
81-
if: matrix.os == 'ubuntu-latest'
82-
uses: Jimver/[email protected]
81+
uses: Jimver/cuda-toolkit@master
8382
id: cuda-toolkit-ubuntu
8483
with:
85-
cuda: '12.3.2'
84+
cuda: '12.4.1'
8685

8786
- name: Configure CMake (Ubuntu)
88-
if: matrix.os == 'ubuntu-latest'
89-
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DRAYX_REQUIRE_CUDA=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
87+
if: matrix.os == 'ubuntu-24.04'
88+
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DRAYX_ENABLE_CUDA=OFF -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install
9089

9190
# Build the project
9291
- name: Build
@@ -109,17 +108,17 @@ jobs:
109108

110109
# Generate Linux artifacts (DEB, RPM, TAR)
111110
- name: CPack (Ubuntu - DEB)
112-
if: matrix.os == 'ubuntu-latest'
111+
if: matrix.os == 'ubuntu-24.04'
113112
working-directory: ${{github.workspace}}/build
114113
run: cpack -G DEB
115114

116115
- name: CPack (Ubuntu - RPM)
117-
if: matrix.os == 'ubuntu-latest'
116+
if: matrix.os == 'ubuntu-24.04'
118117
working-directory: ${{github.workspace}}/build
119118
run: cpack -G RPM
120119

121120
- name: CPack (Ubuntu - TAR)
122-
if: matrix.os == 'ubuntu-latest'
121+
if: matrix.os == 'ubuntu-24.04'
123122
working-directory: ${{github.workspace}}/build
124123
run: cpack -G TGZ
125124

@@ -136,7 +135,7 @@ jobs:
136135

137136
# Upload artifacts (Ubuntu)
138137
- name: Upload build artifacts (Ubuntu)
139-
if: matrix.os == 'ubuntu-latest'
138+
if: matrix.os == 'ubuntu-24.04'
140139
uses: actions/upload-artifact@v4
141140
with:
142141
name: ubuntu-artifacts
@@ -158,7 +157,7 @@ jobs:
158157
release:
159158
name: Create Release
160159
needs: build-and-release
161-
runs-on: ubuntu-latest
160+
runs-on: ubuntu-24.04
162161
steps:
163162
- name: Checkout code
164163
uses: actions/checkout@v4

.github/workflows/testUbuntu.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,36 +16,29 @@ env:
1616
jobs:
1717
build:
1818
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- uses: actions/checkout@v4
2323
with:
2424
submodules: 'recursive'
2525

26-
- name: Make some space
26+
- name: Update Repositories to Ubuntu 24.04
2727
run: |
28-
df -h
29-
sudo rm -rf /usr/share/dotnet
30-
sudo rm -rf /usr/share/swift
31-
sudo rm -rf /usr/local/lib/android
32-
sudo rm -rf /opt/hostedtoolcache
33-
sudo rm -rf /opt/ghc
34-
sudo rm -rf /opt/az
35-
df -h
28+
sudo sed -i 's/jammy/lunar/g' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
29+
sudo apt update
3630
37-
- name: Install dependencies
31+
- name: Install Vulkan SDK
3832
run: |
39-
sudo wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
40-
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.224-focal.list https://packages.lunarg.com/vulkan/1.3.224/lunarg-vulkan-1.3.224-focal.list
41-
sudo apt update --yes
42-
sudo apt install --yes vulkan-sdk xorg-dev cmake libgtk-3-dev libdbus-1-dev libboost-dev
33+
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/lunarg.gpg
34+
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.296-noble.list https://packages.lunarg.com/vulkan/1.3.296/lunarg-vulkan-1.3.296-noble.list
35+
sudo apt update && sudo apt install --yes vulkan-sdk xorg-dev cmake libgtk-3-dev libdbus-1-dev libboost-dev
4336
4437
- name: Install Cuda
45-
uses: Jimver/cuda-toolkit@v0.2.16
38+
uses: Jimver/cuda-toolkit@master
4639
id: cuda-toolkit
4740
with:
48-
cuda: '12.3.2'
41+
cuda: '12.4.1'
4942

5043
- name: Configure CMake
5144
run: cmake -B ${{github.workspace}}/build -DWERROR=YES -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DRAYX_REQUIRE_CUDA=ON

.github/workflows/testUbuntuClang.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,26 @@ env:
1616
jobs:
1717
build:
1818
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020

2121
steps:
2222
- uses: actions/checkout@v4
2323
with:
2424
submodules: 'recursive'
2525

26-
- name: Install dependencies
26+
- name: Update Repositories to Ubuntu 24.04
27+
run: |
28+
sudo sed -i 's/jammy/lunar/g' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
29+
sudo apt update
30+
31+
- name: Install Vulkan SDK
32+
run: |
33+
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/lunarg.gpg
34+
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.296-noble.list https://packages.lunarg.com/vulkan/1.3.296/lunarg-vulkan-1.3.296-noble.list
35+
sudo apt update && sudo apt install --yes vulkan-sdk xorg-dev cmake libgtk-3-dev libdbus-1-dev libboost-dev
36+
37+
- name: Install llvm
2738
run: |
28-
sudo wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
29-
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.224-focal.list https://packages.lunarg.com/vulkan/1.3.224/lunarg-vulkan-1.3.224-focal.list
30-
sudo apt update --yes
31-
sudo apt install --yes vulkan-sdk xorg-dev cmake libgtk-3-dev libdbus-1-dev libboost-dev
3239
wget https://apt.llvm.org/llvm.sh
3340
chmod u+x llvm.sh
3441
sudo ./llvm.sh 17
@@ -38,13 +45,10 @@ jobs:
3845
run: |
3946
CC="clang-17" CXX="clang++-17" cmake -B ${{github.workspace}}/build \
4047
-DWERROR=YES \
41-
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
42-
-DRAYX_ENABLE_CUDA=OFF \
43-
-DCMAKE_CXX_FLAGS="-fopenmp -Werror" \
44-
-DCMAKE_EXE_LINKER_FLAGS="-L/usr/lib/llvm-17/lib -lomp"
48+
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
4549
4650
- name: Build
47-
run: CXX="clang++-17 -Werror" cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
51+
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
4852

4953
- name: Run
5054
working-directory: ${{github.workspace}}

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
cmake_minimum_required(VERSION 3.25.2 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
22

33
# ---- Project ----
4-
project(RAYX VERSION 0.21.3)
5-
set(CMAKE_CXX_STANDARD 23)
4+
project(RAYX VERSION 0.21.7)
5+
set(CMAKE_CXX_STANDARD 20)
66
set(CMAKE_CXX_STANDARD_REQUIRED ON)
77
set(CMAKE_CUDA_STANDARD 20)
88
set(CMAKE_CUDA_STANDARD_REQUIRED ON)

Extern/HighFive

Extern/VMA

Extern/alpaka

Submodule alpaka updated 127 files

Extern/glfw

Submodule glfw updated 75 files

0 commit comments

Comments
 (0)