1- name : Branch Builds (Legacy)
2- on :
1+ name : Branch Builds
2+ on :
33 push :
44 paths-ignore :
55 - ' **/*.md'
66 - ' .all-contributorsrc'
7+ pull_request :
8+ paths-ignore :
9+ - ' **/*.md'
10+ branches :
11+ - main
12+
713
814jobs :
915 test :
1016 runs-on : ubuntu-latest
11- name : Run Tests
17+ name : Test Processing
1218 steps :
1319 - name : Checkout Repository
1420 uses : actions/checkout@v4
15- - name : Install Java
16- uses : actions/setup-java@v4
17- with :
18- java-version : ' 17'
19- distribution : ' temurin'
20- architecture : x64
21- - name : Build
22- run : >
23- cd build;
24- ant -noinput build test;
25- build :
26- name : Create Pre-release for ${{ matrix.os_prefix }} (${{ matrix.arch }})
27- needs : test
21+
22+ - name : Setup Processing
23+ uses : ./.github/actions/setup
24+
25+ - name : Build with Gradle
26+ run : ./gradlew test
27+ build :
28+ name : (${{ matrix.os_prefix }}/${{ matrix.arch }}) Create Processing Build
2829 runs-on : ${{ matrix.os }}
29- permissions :
30- contents : write
30+ needs : test
3131 strategy :
3232 fail-fast : false
3333 matrix :
3434 include :
35- # compiling for arm32 needs a self-hosted runner on Raspi OS (32-bit)
36- - os : [self-hosted, linux, ARM]
35+ - os : ubuntu-24.04-arm
3736 os_prefix : linux
38- arch : arm
37+ arch : aarch64
38+ binary : deb/processing*.deb
3939 - os : ubuntu-latest
4040 os_prefix : linux
4141 arch : x64
42+ binary : deb/processing*.deb
4243 - os : windows-latest
4344 os_prefix : windows
4445 arch : x64
46+ binary : msi/Processing-*.msi
4547 - os : macos-latest
4648 os_prefix : macos
4749 arch : x64
50+ binary : dmg/Processing-*.dmg
4851 - os : macos-latest
4952 os_prefix : macos
5053 arch : aarch64
51- - os : macos-latest
52- os_prefix : linux
53- arch : aarch64
54+ binary : dmg/Processing-*.dmg
5455 steps :
5556 - name : Checkout Repository
5657 uses : actions/checkout@v4
57- - name : Checkout Examples Repository
58- uses : actions/checkout@v4
59- with :
60- repository : processing/processing-examples
61- path : processing-examples
62- - name : Install Java
63- uses : actions/setup-java@v4
64- with :
65- java-version : ' 17'
66- distribution : ' temurin'
67- architecture : ${{ matrix.arch }}
68- - name : Setup Ant
69- uses : cedx/setup-ant@v3
70- - name : Build Release
71- run : ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
58+
59+ - name : Setup Processing
60+ uses : ./.github/actions/setup
61+
62+ - name : Package Processing with Gradle
63+ run : ./gradlew packageDistributionForCurrentOS
64+
7265 - name : Add artifact
7366 uses : actions/upload-artifact@v4
7467 with :
75- name : processing-${{ github.ref_name }}-${{github.sha}}-${{ matrix.os_prefix }}-${{ matrix.arch }}-ant
76- path : ./build/${{ matrix.os_prefix }}/processing-${{github.sha}}-${{ matrix.os_prefix}}-*
68+ name : processing-${{ matrix.os_prefix }}-${{ matrix.arch }}-br_${{ github.ref_name }}
7769 retention-days : 1
70+ path : app/build/compose/binaries/main/${{ matrix.binary }}
0 commit comments