diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 95b44a342..91ee2175d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Parallel Programming Course", - "image": "ghcr.io/learning-process/ppc-ubuntu:latest", + "image": "ghcr.io/learning-process/ppc-ubuntu:1.1", "customizations": { "vscode": { "extensions": [ diff --git a/.github/actions/clang-tidy-native/action.yml b/.github/actions/clang-tidy-native/action.yml index ac3460149..bdc5be153 100644 --- a/.github/actions/clang-tidy-native/action.yml +++ b/.github/actions/clang-tidy-native/action.yml @@ -12,7 +12,7 @@ inputs: clang_tidy_version: description: 'Clang-tidy version to use' required: false - default: '20' + default: '21' outputs: total_comments: description: 'Total number of clang-tidy issues found' diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 128fdd258..f28424d98 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -47,4 +47,4 @@ jobs: file: ./docker/ubuntu.Dockerfile platforms: linux/amd64,linux/arm64 push: ${{ github.ref == 'refs/heads/master' }} - tags: ghcr.io/learning-process/ppc-ubuntu:1.0 + tags: ghcr.io/learning-process/ppc-ubuntu:1.1 diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 98cc9e69f..ba87df9b5 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -5,7 +5,7 @@ jobs: ubuntu-gcc-build-perf-stats: runs-on: ubuntu-24.04 container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 726b85309..6fa2ed6b3 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,7 +9,7 @@ jobs: pre-commit: runs-on: ubuntu-24.04 container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/static-analysis-pr.yml b/.github/workflows/static-analysis-pr.yml index b90dedb80..d79dade58 100644 --- a/.github/workflows/static-analysis-pr.yml +++ b/.github/workflows/static-analysis-pr.yml @@ -23,7 +23,7 @@ jobs: clang-tidy: runs-on: ubuntu-24.04 container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -46,22 +46,22 @@ jobs: -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON env: - CC: clang-20 - CXX: clang++-20 + CC: clang-21 + CXX: clang++-21 - name: Build project run: | cmake --build build --parallel env: - CC: clang-20 - CXX: clang++-20 + CC: clang-21 + CXX: clang++-21 - name: Run clang-tidy uses: ./.github/actions/clang-tidy-native id: review with: exclude: "3rdparty build" - clang_tidy_version: "20" + clang_tidy_version: "21" - if: steps.review.outputs.total_comments > 0 run: | echo "clang-tidy run has failed. See previous 'Run clang-tidy' stage logs" @@ -71,7 +71,7 @@ jobs: - clang-tidy runs-on: ubuntu-24.04 container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -109,7 +109,7 @@ jobs: id: review with: exclude: "3rdparty build docs_venv .git .pytest_cache .ruff_cache xml" - clang_tidy_version: "20" + clang_tidy_version: "21" - if: steps.review.outputs.total_comments > 0 run: | echo "clang-tidy run has failed. See previous 'Run clang-tidy' stage logs" diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index b6d38d8dd..b2008ad04 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -5,7 +5,7 @@ jobs: gcc-build: runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -60,7 +60,7 @@ jobs: - gcc-build runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -92,7 +92,7 @@ jobs: - gcc-test runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -116,7 +116,7 @@ jobs: clang-build: runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -139,14 +139,14 @@ jobs: -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=install env: - CC: clang-20 - CXX: clang++-20 + CC: clang-21 + CXX: clang++-21 - name: Build project run: | cmake --build build --parallel env: - CC: clang-20 - CXX: clang++-20 + CC: clang-21 + CXX: clang++-21 - name: Install project run: | cmake --build build --target install @@ -162,7 +162,7 @@ jobs: - clang-build runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -194,7 +194,7 @@ jobs: - clang-test runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -220,7 +220,7 @@ jobs: - clang-build runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -245,14 +245,14 @@ jobs: -D ENABLE_ADDRESS_SANITIZER=ON -D ENABLE_UB_SANITIZER=ON -D ENABLE_LEAK_SANITIZER=ON -D CMAKE_INSTALL_PREFIX=install env: - CC: clang-20 - CXX: clang++-20 + CC: clang-21 + CXX: clang++-21 - name: Build project run: | cmake --build build --parallel env: - CC: clang-20 - CXX: clang++-20 + CC: clang-21 + CXX: clang++-21 - name: Install project run: | cmake --build build --target install @@ -268,7 +268,7 @@ jobs: - clang-sanitizer-build runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -306,7 +306,7 @@ jobs: - clang-sanitizer-test runs-on: ${{ matrix.os }} container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} @@ -334,7 +334,7 @@ jobs: - clang-test-extended runs-on: ubuntu-24.04 container: - image: ghcr.io/learning-process/ppc-ubuntu:1.0 + image: ghcr.io/learning-process/ppc-ubuntu:1.1 credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} diff --git a/3rdparty/googletest b/3rdparty/googletest index 504ea69cf..eb2d85edd 160000 --- a/3rdparty/googletest +++ b/3rdparty/googletest @@ -1 +1 @@ -Subproject commit 504ea69cf7e9947be54f808a09b7b08988e84b5f +Subproject commit eb2d85edd0bff7a712b6aff147cd9f789f0d7d0b diff --git a/docker/ubuntu.Dockerfile b/docker/ubuntu.Dockerfile index f3ba14f5d..225a82285 100644 --- a/docker/ubuntu.Dockerfile +++ b/docker/ubuntu.Dockerfile @@ -19,7 +19,7 @@ RUN set -e \ gcovr zip \ && wget -q https://apt.llvm.org/llvm.sh \ && chmod +x llvm.sh \ - && ./llvm.sh 20 all \ + && ./llvm.sh 21 all \ && rm llvm.sh \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*