Skip to content

Commit b9eaf4e

Browse files
authored
CI: use deken Docker image (#26)
1 parent 774b615 commit b9eaf4e

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

.github/workflows/pd-externals.yml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -85,34 +85,37 @@ jobs:
8585
path: apf/examples/pure-data/build/*
8686

8787
deken-package:
88-
# Deken is not available on 22.04,
89-
# see https://github.com/pure-data/deken/issues/260
90-
runs-on: ubuntu-20.04
88+
runs-on: ubuntu-latest
89+
container: registry.git.iem.at/pd/deken
9190
needs: [linux, macos, windows]
9291
steps:
93-
- name: Clone Git repository
94-
uses: actions/checkout@v2
92+
- name: Install Git
93+
run: |
94+
apt-get update
95+
apt-get install --assume-yes --no-install-recommends git
96+
- name: Checkout code
97+
uses: actions/checkout@v4
98+
with:
99+
# check out all tags to get proper version in Deken package
100+
fetch-depth: 0
101+
- name: git clone fix
102+
# https://github.com/actions/checkout/issues/1169:
103+
run: git config --system --add safe.directory $GITHUB_WORKSPACE
95104
- name: Retrieve Linux externals
96-
uses: actions/download-artifact@v2
105+
uses: actions/download-artifact@v5
97106
with:
98107
name: linux-externals
99108
path: apf_example
100109
- name: Retrieve macOS external
101-
uses: actions/download-artifact@v2
110+
uses: actions/download-artifact@v5
102111
with:
103112
name: macos-externals
104113
path: apf_example
105114
- name: Retrieve Windows external
106-
uses: actions/download-artifact@v2
115+
uses: actions/download-artifact@v5
107116
with:
108117
name: windows-externals
109118
path: apf_example
110-
- name: Install deken
111-
run: |
112-
sudo apt-get install --no-install-recommends deken
113-
# work-arounds from https://github.com/pure-data/deken/issues/247:
114-
mkdir ~/.deken
115-
python3 -m pip install hy==0.19
116119
- name: Run deken
117120
run: |
118121
deken package -v $(git describe --tags --always) --objects examples/pure-data/objects.txt apf_example

0 commit comments

Comments
 (0)