diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index baa67d8..d940f6b 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: @@ -217,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: @@ -241,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