Skip to content

Commit a759e47

Browse files
authored
Merge pull request #1870 from apradhana/more_ci_fixes
More CI Fixes
2 parents 60d2343 + 2e5f5d4 commit a759e47

File tree

7 files changed

+52
-7
lines changed

7 files changed

+52
-7
lines changed

.github/workflows/ax.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ jobs:
7474
- { image: '2021-clang10', cxx: 'g++', build: 'Release', cmake: '-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON' }
7575
fail-fast: false
7676
steps:
77+
- name: Enable Node 16
78+
if: contains(matrix.config.image, '2021') || contains(matrix.config.image, '2022')
79+
run: |
80+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
7781
- uses: actions/checkout@v3
7882
- name: pybind11
7983
#if: contains(matrix.config.image, '2023') == false

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ jobs:
8686
- { cxx: g++, image: '2022-clang11', abi: '9', build: 'Release', cmake: '-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON' }
8787
fail-fast: false
8888
steps:
89+
- name: Enable Node 16
90+
# Solution taken from https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default
91+
if: contains(matrix.config.image, '2022')
92+
run: |
93+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
8994
- uses: actions/checkout@v3
9095
- name: pybind11
9196
#if: contains(matrix.config.image, '2023') == false

.github/workflows/docs.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
# need to re-write the python docs to use sphinx
4343
image: aswf/ci-openvdb:2022
4444
steps:
45+
- name: Enable Node 16
46+
run: |
47+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
4548
- uses: actions/checkout@v3
4649
- name: install_doxygen
4750
run: ./ci/install_doxygen.sh 1_8_11
@@ -51,7 +54,12 @@ jobs:
5154
# - name: install_epydoc
5255
# run: pip install epydoc
5356
- name: install_latex
54-
run: yum -y install texlive-latex-bin texlive-dvips texlive-collection-fontsrecommended texlive-collection-latexrecommended
57+
run: |
58+
# Fix error: Cannot prepare internal mirrorlist: No URLs in mirrorlist. CentOS 8 reached EOL means need to replace the official mirror to vault.centos.org
59+
# Comment out mirrorlist and replace #baseurl=...mirror.centos.org with baseurl=...vault.centos.org in files starting with CentOS- in /etc/yum.repos.d folder
60+
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
61+
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
62+
yum -y install texlive-latex-bin texlive-dvips texlive-collection-fontsrecommended texlive-collection-latexrecommended
5563
- name: build
5664
run: >
5765
./ci/build.sh -v

.github/workflows/houdini.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ jobs:
8383
steps:
8484
# See note on this step in the Houdini weekly.yml job
8585
# We can remove this when we no longer use < 2023 images
86+
- name: Enable Node 16
87+
run: |
88+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
8689
- name: remove zstd
8790
run: yum -y remove zstd
8891
- uses: actions/checkout@v3

.github/workflows/nanovdb.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,17 @@ jobs:
6565
- { cxx: clang++, image: '2022-clang11', build: 'Debug' }
6666
fail-fast: false
6767
steps:
68+
- name: Enable Node 16
69+
if: contains(matrix.config.image, '2022')
70+
run: |
71+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
6872
- uses: actions/checkout@v3
6973
- name: install_cuda_11
7074
run: |
75+
# Fix error: Cannot prepare internal mirrorlist: No URLs in mirrorlist. CentOS 8 reached EOL means need to replace the official mirror to vault.centos.org
76+
# Comment out mirrorlist and replace #baseurl=...mirror.centos.org with baseurl=...vault.centos.org in files starting with CentOS- in /etc/yum.repos.d folder
77+
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
78+
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
7179
yum -y install yum-utils
7280
yum-config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
7381
echo "Installing cuda toolkit"
@@ -98,7 +106,7 @@ jobs:
98106
env:
99107
VCPKG_DEFAULT_TRIPLET: ${{ matrix.config.vc }}
100108
visual_studio: "Visual Studio 17 2022"
101-
cuda: "11.6.2"
109+
cuda: "12.4.0"
102110
strategy:
103111
matrix:
104112
config:
@@ -153,8 +161,8 @@ jobs:
153161
strategy:
154162
matrix:
155163
config:
156-
- { runner: 'macos-11', cxx: 'clang++', build: 'Release' }
157-
- { runner: 'macos-11', cxx: 'clang++', build: 'Debug' }
164+
- { runner: 'macos-12', cxx: 'clang++', build: 'Release' }
165+
- { runner: 'macos-12', cxx: 'clang++', build: 'Debug' }
158166
fail-fast: false
159167
steps:
160168
- uses: actions/checkout@v3
@@ -186,6 +194,6 @@ jobs:
186194
cd nanovdb/nanovdb
187195
sudo mkdir .build
188196
cd .build
189-
sudo cmake -DUSE_EXPLICIT_INSTANTIATION=OFF -DNANOVDB_BUILD_UNITTESTS=ON ../
197+
sudo cmake -DUSE_EXPLICIT_INSTANTIATION=OFF -DNANOVDB_BUILD_UNITTESTS=ON -DNANOVDB_USE_OPENVDB=OFF -DNANOVDB_USE_CUDA=OFF ../
190198
sudo make -j8 install
191199
sudo ctest -V

.github/workflows/weekly.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ jobs:
7777
container:
7878
image: aswf/ci-base:2023
7979
steps:
80+
- name: Enable Node 16
81+
run: |
82+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
8083
- uses: actions/checkout@v3
8184
# We bumped from the 2021 CI image to 2023 here to fix some OpenSSL issues
8285
# with the Houdini download script. In so doing we broke some of the caching
@@ -171,6 +174,9 @@ jobs:
171174
- { name: 'conf', build: 'Release', components: 'core,python,bin,view,render,test,axcore,axtest', cmake: '-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON' }
172175
fail-fast: false
173176
steps:
177+
- name: Enable Node 16
178+
run: |
179+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
174180
- uses: actions/checkout@v3
175181
- name: pybind11
176182
#if: contains(container.image, '2023') == false
@@ -253,6 +259,10 @@ jobs:
253259
- { image: '2022-clang11', cxx: 'g++', build: 'Release', components: 'core', cmake: '' }
254260
fail-fast: false
255261
steps:
262+
- name: Enable Node 16
263+
if: contains(matrix.config.image, '2021') || contains(matrix.config.image, '2022')
264+
run: |
265+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
256266
- uses: actions/checkout@v3
257267
- name: pybind11
258268
#f: contains(matrix.config.image, '2023') == false
@@ -397,6 +407,9 @@ jobs:
397407
blosc: ['1.18.0','1.19.0','1.20.0','1.21.0']
398408
fail-fast: false
399409
steps:
410+
- name: Enable Node 16
411+
run: |
412+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
400413
- uses: actions/checkout@v3
401414
- name: install_blosc
402415
run: sudo ./ci/install_blosc.sh ${{ matrix.blosc }}
@@ -423,6 +436,9 @@ jobs:
423436
# may not have this build type. See OpenVDBCXX.cmake
424437
CXXFLAGS: "-gdwarf-4 -g3 -ggdb -Og"
425438
steps:
439+
- name: Enable Node 16
440+
run: |
441+
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
426442
- uses: actions/checkout@v3
427443
with:
428444
fetch-depth: 0

ci/install_windows_cuda.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ $CUDA_KNOWN_URLS = @{
2626
"11.2.1" = "https://developer.download.nvidia.com/compute/cuda/11.2.1/network_installers/cuda_11.2.1_win10_network.exe";
2727
"11.2.2" = "https://developer.download.nvidia.com/compute/cuda/11.2.2/network_installers/cuda_11.2.2_win10_network.exe";
2828
"11.3.0" = "https://developer.download.nvidia.com/compute/cuda/11.3.0/network_installers/cuda_11.3.0_win10_network.exe";
29-
"11.6.2" = "https://developer.download.nvidia.com/compute/cuda/11.6.2/network_installers/cuda_11.6.2_windows_network.exe"
29+
"11.6.2" = "https://developer.download.nvidia.com/compute/cuda/11.6.2/network_installers/cuda_11.6.2_windows_network.exe";
30+
"12.4.0" = "https://developer.download.nvidia.com/compute/cuda/12.4.0/network_installers/cuda_12.4.0_windows_network.exe"
3031
}
3132

3233
# @todo - change this to be based on _MSC_VER intead, or invert it to be CUDA keyed instead?
3334
$VISUAL_STUDIO_MIN_CUDA = @{
34-
"2022" = "11.6";
35+
"2022" = "12.4";
3536
"2019" = "10.1";
3637
"2017" = "10.0"; # Depends on which version of 2017! 9.0 to 10.0 depending on version
3738
"2015" = "8.0"; # might support older, unsure.

0 commit comments

Comments
 (0)