From 21b43b5ff9b37b3e48829767bec5041e5b2e4790 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Fri, 22 Aug 2025 19:26:46 +0200 Subject: [PATCH 1/2] Add CMAKE_POLICY_VERSION_MINIMUM --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index baa67d8..b1f29b7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,8 @@ env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 RUST_LOG: info + # https://github.com/Prior99/libsamplerate-sys/issues/21: + CMAKE_POLICY_VERSION_MINIMUM: 3.5 jobs: Linux: From 86d05382c0922bf180d4ec01304bd18d476fa040 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sat, 23 Aug 2025 10:06:21 +0200 Subject: [PATCH 2/2] CI: update deken installation --- .github/workflows/main.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b1f29b7..d940f6b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -219,12 +219,22 @@ jobs: cargo cinstall --verbose deken-package: - # The deken package seems to be missing on 22.04: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: registry.git.iem.at/pd/deken needs: [Linux, macOS, Windows-MSYS2] steps: + - name: Install Git + run: | + apt-get update + apt-get install --assume-yes --no-install-recommends git - name: Clone Git repository uses: actions/checkout@v4 + with: + # check out all tags to get proper version in Deken package + fetch-depth: 0 + - name: git clone fix + # https://github.com/actions/checkout/issues/1169: + run: git config --system --add safe.directory $GITHUB_WORKSPACE - name: Retrieve Linux external uses: actions/download-artifact@v4 with: @@ -243,12 +253,6 @@ jobs: - name: Copy help patch and source file run: | cp pure-data/asdf~* asdf - - name: Install deken - run: | - sudo apt-get install --no-install-recommends deken - # work-arounds from https://github.com/pure-data/deken/issues/247: - mkdir ~/.deken - python3 -m pip install hy==0.19 - name: Run deken run: | deken package -v $(git describe --tags --always) --objects pure-data/objects.txt asdf