diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7742eb3e..7268f0c3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,9 +1,9 @@ name: Tests on: - schedule: - - cron: "30 20 * * *" # 7:30pm UTC - workflow_dispatch: + schedule: + - cron: "30 20 * * *" # 7:30pm UTC + workflow_dispatch: pull_request: paths: - "*.cpp" @@ -19,6 +19,7 @@ on: - "*.txt" - "setup.cfg" - ".github/workflows/*.yml" + - "CMakeLists.txt" jobs: linting: @@ -26,11 +27,11 @@ jobs: strategy: max-parallel: 1 matrix: - python-version: ["3.11"] + python-version: ["3.11"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install python dependencies @@ -43,36 +44,36 @@ jobs: run: | mypy src tests - name: Run clang-format style check for C/C++ programs. - uses: jidicula/clang-format-action@v4.11.0 + uses: jidicula/clang-format-action@v4.11.0 with: clang-format-version: "11" check-path: "/src/bindings/" - fallback-style: "Google" + fallback-style: "Google" build: runs-on: ${{ matrix.os }} needs: [linting] strategy: fail-fast: false - max-parallel: 12 + max-parallel: 12 matrix: - os: [ubuntu-latest, macos-latest] - python-version: ["3.11", "3.12", "3.13", "3.14"] + os: [ubuntu-latest, macos-latest] + python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: submodules: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - name: Build Google DP + - name: Build Google DP timeout-minutes: 20 run: | - bash build_PyDP.sh + bash build_PyDP.sh - name: Upgrade pip run: | @@ -85,7 +86,7 @@ jobs: - name: Get poetry cache dir id: poetry-cache run: | - echo "dir=$(poetry config cache-dir)" >> $GITHUB_OUTPUT + echo "dir=$(poetry config cache-dir)" >> $GITHUB_OUTPUT - name: poetry cache uses: actions/cache@v4 @@ -104,8 +105,8 @@ jobs: run: | poetry run python setup.py build bdist_wheel - - name: Build PyDP Linux - if: runner.os == 'Linux' + - name: Build PyDP Linux + if: runner.os == 'Linux' run: | poetry run python setup.py build bdist_wheel diff --git a/src/bindings/PyDP/CMakeLists.txt b/src/bindings/PyDP/CMakeLists.txt index 7a1ba2bc..953b7879 100644 --- a/src/bindings/PyDP/CMakeLists.txt +++ b/src/bindings/PyDP/CMakeLists.txt @@ -3,7 +3,7 @@ include(FetchContent) FetchContent_Declare( google_dp GIT_REPOSITORY https://github.com/google/differential-privacy.git - GIT_TAG 8c7aac224465468407b4f9e11d3fb5ce90a15d58 # Sep 5, 2025 + GIT_TAG 12e32c6156d0b8b8dbeb0f63a9b8b3f87b521352 # May 5, 2026 ) FetchContent_MakeAvailable(google_dp) @@ -19,7 +19,7 @@ FetchContent_MakeAvailable(pybind11) FetchContent_Declare( abseil-cpp GIT_REPOSITORY https://github.com/abseil/abseil-cpp.git - GIT_TAG 20250512.1 + GIT_TAG 20260107.0 ) FetchContent_MakeAvailable(abseil-cpp)