diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d00ee6d27e..c5a200e32e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -470,10 +470,10 @@ jobs: # Testing on Ubuntu + NVHPC (previous PGI) compilers, which seems to require more workarounds - ubuntu-nvhpc7: + ubuntu-nvhpc: if: github.event.pull_request.draft == false - runs-on: ubuntu-22.04 - name: "🐍 3 • NVHPC 23.5 • C++17 • x64" + runs-on: ubuntu-24.04 + name: "🐍 3 • NVHPC 25.11 • C++17 • x64" timeout-minutes: 90 env: @@ -491,7 +491,7 @@ jobs: run: | sudo apt-get update -y && \ sudo apt-get install -y cmake environment-modules git python3-dev python3-pip python3-numpy && \ - sudo apt-get install -y --no-install-recommends nvhpc-23-5 && \ + sudo apt-get install -y --no-install-recommends nvhpc-25-11 && \ sudo rm -rf /var/lib/apt/lists/* python3 -m pip install --upgrade pip python3 -m pip install --upgrade pytest @@ -502,7 +502,7 @@ jobs: shell: bash run: | source /etc/profile.d/modules.sh - module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/23.5 + module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/25.11 cmake -S . -B build -DDOWNLOAD_CATCH=ON \ -DCMAKE_CXX_STANDARD=17 \ -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \ @@ -510,7 +510,7 @@ jobs: -DPYBIND11_TEST_FILTER="test_smart_ptr.cpp" - name: Build - run: cmake --build build -j 2 --verbose + run: cmake --build build -j $(nproc) --verbose - name: Python tests run: cmake --build build --target pytest