6161 aws configure set default.region eu-north-1
6262 aws s3 cp ./plugdata-macOS-Universal.pkg s3://plugdata-nightly/
6363 aws s3 cp ./plugdata-macOS-Universal.pkg.txt s3://plugdata-nightly/
64+ aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-macOS-Universal.pkg" "/plugdata-macOS-Universal.pkg.txt"
6465
6566 - name : Archive Artifacts
6667 uses : actions/upload-artifact@v4
7778 files : plugdata-macOS-Universal
7879
7980 macos-legacy-build :
80- runs-on : macos-13
81+ runs-on : macos-14
8182
8283 steps :
8384 - uses : actions/checkout@v4
@@ -131,6 +132,7 @@ jobs:
131132 aws configure set default.region eu-north-1
132133 aws s3 cp ./plugdata-macOS-Legacy.pkg s3://plugdata-nightly/
133134 aws s3 cp ./plugdata-macOS-Legacy.pkg.txt s3://plugdata-nightly/
135+ aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-macOS-Legacy.pkg" "/plugdata-macOS-Legacy.pkg.txt"
134136
135137 - name : Archive Artifacts
136138 uses : actions/upload-artifact@v4
@@ -191,6 +193,7 @@ jobs:
191193 aws configure set default.region eu-north-1
192194 aws s3 cp ./plugdata-Win64.msi s3://plugdata-nightly/
193195 aws s3 cp ./plugdata-Win64.msi.txt s3://plugdata-nightly/
196+ aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-Win64.msi" "/plugdata-Win64.msi.txt"
194197
195198 - name : Archive Artifacts
196199 uses : actions/upload-artifact@v4
@@ -244,6 +247,7 @@ jobs:
244247 aws configure set default.region eu-north-1
245248 aws s3 cp ./plugdata-Win32.msi s3://plugdata-nightly/
246249 aws s3 cp ./plugdata-Win32.msi.txt s3://plugdata-nightly/
250+ aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-Win32.msi" "/plugdata-Win32.msi.txt"
247251
248252 - name : Archive Artifacts
249253 uses : actions/upload-artifact@v4
@@ -305,11 +309,11 @@ jobs:
305309
306310 - name : Install Dependencies (zypper)
307311 if : ${{ matrix.pacman == 'zypper' }}
308- run : zypper refresh && zypper install -y git rsync wget bzip2 xz tar cmake alsa-devel libXinerama-devel libXi-devel libcurl-devel libXcomposite-devel freeglut-devel libXrandr-devel libXcursor-devel freetype2-devel gcc gcc-c++ curl ccache python3 libjack-devel gawk unzip ninja
312+ run : zypper dup -y && zypper install -y git rsync wget bzip2 xz tar cmake alsa-devel libXinerama-devel libXi-devel libcurl-devel libXcomposite-devel freeglut-devel libXrandr-devel libXcursor-devel freetype2-devel gcc gcc-c++ curl ccache python3 libjack-devel gawk unzip ninja
309313
310314 - name : Install Dependencies (pacman)
311315 if : ${{ matrix.pacman == 'pacman' }}
312- run : pacman -Sy && pacman -S --noconfirm cmake wget bzip2 git alsa-lib freetype2 libx11 libxcursor libxi libxext libxinerama libxrandr libxrender webkit2gtk cmake make gcc pkgconf python python-pip curl ccache freeglut mesa glfw-x11 glew jack2 openssl unzip ninja && pacman --noconfirm -Syu
316+ run : pacman --noconfirm -Syu && pacman -S --noconfirm tar cmake wget bzip2 git alsa-lib freetype2 libx11 libxcursor libxi libxext libxinerama libxrandr libxrender webkit2gtk cmake make gcc pkgconf python python-pip curl ccache freeglut mesa glfw-x11 glew jack2 openssl unzip ninja && pacman --noconfirm -Syu
313317
314318 - uses : actions/checkout@v4
315319 with :
@@ -349,6 +353,7 @@ jobs:
349353 aws configure set default.region eu-north-1
350354 aws s3 cp ./plugdata-${{ matrix.name }}.tar.xz s3://plugdata-nightly/
351355 aws s3 cp ./plugdata-${{ matrix.name }}.tar.xz.txt s3://plugdata-nightly/
356+ aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-${{ matrix.name }}.tar.xz" "/plugdata-${{ matrix.name }}.tar.xz.txt"
352357
353358 - name : Archive Artifacts
354359 uses : actions/upload-artifact@v4
@@ -392,6 +397,12 @@ jobs:
392397 - name : Fedora-42-aarch64
393398 os : fedora:42
394399 pacman : dnf
400+ - name : OpenSUSE-Tumbleweed-aarch64
401+ os : opensuse/tumbleweed
402+ pacman : zypper
403+ - name : Arch-aarch64
404+ os : agners/archlinuxarm
405+ pacman : pacman
395406
396407 steps :
397408 - name : Install Dependencies (dnf)
@@ -402,6 +413,14 @@ jobs:
402413 if : ${{ matrix.pacman == 'apt' }}
403414 run : apt update && DEBIAN_FRONTEND=noninteractive TZ="Europe/Amsterdam" apt install -y cmake git wget bzip2 build-essential libasound2-dev libjack-jackd2-dev curl libcurl4-openssl-dev libfreetype6-dev libx11-dev libxi-dev libxcomposite-dev libxcursor-dev libxcursor-dev libxext-dev libxrandr-dev libxinerama-dev ccache python3 python3-pip freeglut3-dev unzip ninja-build
404415
416+ - name : Install Dependencies (zypper)
417+ if : ${{ matrix.pacman == 'zypper' }}
418+ run : zypper dup -y && zypper install -y git rsync wget bzip2 xz tar cmake alsa-devel libXinerama-devel libXi-devel libcurl-devel libXcomposite-devel freeglut-devel libXrandr-devel libXcursor-devel freetype2-devel gcc gcc-c++ curl ccache python3 libjack-devel gawk unzip ninja
419+
420+ - name : Install Dependencies (pacman)
421+ if : ${{ matrix.pacman == 'pacman' }}
422+ run : pacman --noconfirm -Syu && pacman -S --noconfirm tar cmake wget bzip2 git alsa-lib freetype2 libx11 libxcursor libxi libxext libxinerama libxrandr libxrender webkit2gtk cmake make gcc pkgconf python python-pip curl ccache freeglut mesa glfw-x11 glew jack2 openssl unzip ninja
423+
405424 - uses : actions/checkout@v4
406425 with :
407426 submodules : recursive
@@ -439,6 +458,7 @@ jobs:
439458 aws configure set default.region eu-north-1
440459 aws s3 cp ./plugdata-${{ matrix.name }}.tar.xz s3://plugdata-nightly/
441460 aws s3 cp ./plugdata-${{ matrix.name }}.tar.xz.txt s3://plugdata-nightly/
461+ aws cloudfront create-invalidation --distribution-id E3OV68BQRGDGE2 --paths "/plugdata-${{ matrix.name }}.tar.xz" "/plugdata-${{ matrix.name }}.tar.xz.txt"
442462
443463 - name : Archive Artifacts
444464 uses : actions/upload-artifact@v4
@@ -453,3 +473,49 @@ jobs:
453473 prerelease : true
454474 draft : true
455475 files : plugdata-${{ matrix.name }}
476+
477+ push-nightlies :
478+ runs-on : ubuntu-latest
479+ needs :
480+ [
481+ macos-universal-build,
482+ macos-legacy-build,
483+ windows-64-build,
484+ windows-32-build,
485+ linux-x64-build,
486+ linux-arm-build,
487+ ]
488+ if : always() && github.ref == 'refs/heads/develop'
489+ steps :
490+ - name : Invalidate CloudFront Cache
491+ run : |
492+ aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY }}
493+ aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_KEY }}
494+ aws configure set default.region eu-north-1
495+ aws cloudfront create-invalidation \
496+ --distribution-id E3OV68BQRGDGE2 \
497+ --paths "/*"
498+
499+ package-all-artifacts :
500+ runs-on : ubuntu-latest
501+ needs :
502+ [
503+ macos-universal-build,
504+ macos-legacy-build,
505+ windows-64-build,
506+ windows-32-build,
507+ linux-x64-build,
508+ linux-arm-build,
509+ ]
510+ if : github.ref == 'refs/heads/main'
511+ steps :
512+ - name : Download all artifacts
513+ uses : actions/download-artifact@v4
514+ with :
515+ path : release-package
516+
517+ - name : Upload combined package
518+ uses : actions/upload-artifact@v4
519+ with :
520+ name : plugdata-all-platforms
521+ path : release-package
0 commit comments