From 923c01466862ae77b1fb0747b8f12610ff1318f8 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Wed, 14 Aug 2024 15:08:58 +0200 Subject: [PATCH 1/5] macOS CI: add homebrew include path --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b15438..95112c7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,6 +30,7 @@ jobs: portaudio ) brew install ${PACKAGES[@]} + echo "CPPFLAGS=-I/opt/homebrew/include" >> "$GITHUB_ENV" - name: checkout APF source code uses: actions/checkout@v2 - name: run unit tests From 7ec36bb1b68be828a4c4940da80a59416097f89e Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Wed, 14 Aug 2024 17:56:57 +0200 Subject: [PATCH 2/5] add lib path --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 95112c7..7837ccf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,6 +31,7 @@ jobs: ) brew install ${PACKAGES[@]} echo "CPPFLAGS=-I/opt/homebrew/include" >> "$GITHUB_ENV" + echo "LDFLAGS=-L/opt/homebrew/lib" >> "$GITHUB_ENV" - name: checkout APF source code uses: actions/checkout@v2 - name: run unit tests From 15b9f2fdbaa78c13b5555008255b1ec4ad1e6f57 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Wed, 14 Aug 2024 18:50:28 +0200 Subject: [PATCH 3/5] Add LDFLAGS to Makefile --- examples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile b/examples/Makefile index c43f6ca..f39ddc8 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -84,7 +84,7 @@ mex-double: mex .PHONY: mex mex-double %.mex: %.cpp - CXXFLAGS="$(CXXFLAGS)" mkoctfile --mex $< $(CPPFLAGS) + CXXFLAGS="$(CXXFLAGS)" mkoctfile --mex $< $(CPPFLAGS) $(LDFLAGS) $(RM) $*.o clean: clean-mex From b588ac1902840bdc0d4fe3869fceb64e0462128b Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 19 Oct 2025 11:28:25 +0200 Subject: [PATCH 4/5] CI: use ubuntu-22.04 to get liboctave-dev --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7837ccf..f85fbb8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ jobs: examples: strategy: matrix: - os: [macos-latest, ubuntu-latest] + os: [macos-latest, ubuntu-22.04] runs-on: ${{ matrix.os }} steps: - name: install Ubuntu packages From 774b615a7485e581f8700ba95a134309451b551f Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 19 Oct 2025 11:37:25 +0200 Subject: [PATCH 5/5] CI: add dependabot.yml, update upload-artifact --- .github/dependabot.yml | 6 ++++++ .github/workflows/pd-externals.yml | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5ace460 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/pd-externals.yml b/.github/workflows/pd-externals.yml index e85bde0..e6a44bf 100644 --- a/.github/workflows/pd-externals.yml +++ b/.github/workflows/pd-externals.yml @@ -17,7 +17,7 @@ jobs: run: | make install DESTDIR=build PDLIBDIR= - name: upload Linux externals - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: linux-externals path: apf/examples/pure-data/build/* @@ -40,7 +40,7 @@ jobs: run: | make install DESTDIR=build PDLIBDIR= - name: upload macOS externals - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: macos-externals path: apf/examples/pure-data/build/* @@ -79,7 +79,7 @@ jobs: run: | make install DESTDIR=build PDLIBDIR= - name: upload Windows externals - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: windows-externals path: apf/examples/pure-data/build/* @@ -117,7 +117,7 @@ jobs: run: | deken package -v $(git describe --tags --always) --objects examples/pure-data/objects.txt apf_example - name: Upload deken package - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Deken package path: "*.dek*"