Skip to content

Update core-maven #851

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 74 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
97a5aa4
Update README.md
SableRaf Sep 9, 2024
6ef1f73
CI/CD Updates
Stefterv Sep 16, 2024
bf6e0fb
Processing Linux 32-bit instructions
Stefterv Sep 16, 2024
90167f9
Code Signing Instructions
Stefterv Sep 16, 2024
4085871
Improved instructions
Stefterv Sep 16, 2024
7f31245
Removed outdated instructions
Stefterv Sep 16, 2024
93598ec
Improved instruction clarity
Stefterv Sep 16, 2024
b1a6483
Don't restrict to main
Stefterv Sep 16, 2024
85d3ef6
actions/upload-artifact@v4
Stefterv Sep 16, 2024
e4a708e
skip markdown file updates [skip ci]
Stefterv Sep 16, 2024
3277427
Clarify tutorial in ARM32.md
SableRaf Sep 21, 2024
f4d8f91
Update ARM32.md
SableRaf Sep 21, 2024
150c561
Merge pull request #837 from processing/SableRaf-patch-1
Stefterv Sep 21, 2024
ed3e990
[skip ci] Skip changes to only markdown files in pull requests
Stefterv Sep 21, 2024
f179fe2
[skip ci] readded on release trigger
Stefterv Sep 24, 2024
05c0e2c
Update application identifier
Stefterv Sep 24, 2024
892cd4d
Added missing jars to sign & changed identifier
Stefterv Sep 24, 2024
9dc3644
Updated instructions for local build
SableRaf Oct 11, 2024
d75ad3d
Fixed link
SableRaf Oct 11, 2024
e0d2946
Update CONTRIBUTING.md
SableRaf Oct 11, 2024
39ce911
Update CONTRIBUTING.md
SableRaf Oct 11, 2024
fddbf89
Added link to the JetBrains Ant Plugin
SableRaf Oct 11, 2024
0547108
Added section on expected behavior
SableRaf Oct 11, 2024
0783604
Update CODE-OF-CONDUCT.md
SableRaf Oct 11, 2024
7f9c348
Added all-contributors section to README.md
SableRaf Nov 1, 2024
ac633d6
Added all-contributors shield to README.md (commented out for now)
SableRaf Nov 1, 2024
3682fa9
Create .all-contributorsrc
SableRaf Nov 1, 2024
f8ec84a
Update .all-contributorsrc to match p5.js' settings
SableRaf Nov 1, 2024
f183483
Update config.yml to allow blank issues
SableRaf Nov 1, 2024
8a1ae45
Added welcoming language and all-contributors instructions to CONTRIB…
SableRaf Nov 1, 2024
48d7352
Simplified language and instructions
SableRaf Nov 1, 2024
d08f8e9
Update CONTRIBUTING.md
SableRaf Nov 1, 2024
c52d118
Update .all-contributorsrc to add missing comma
SableRaf Nov 1, 2024
d7e46a5
docs: update README.md [skip ci]
allcontributors[bot] Nov 1, 2024
f7b1b0d
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 1, 2024
b35ff87
docs: update README.md [skip ci]
allcontributors[bot] Nov 1, 2024
23f9b5a
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 1, 2024
d883b1b
Merge pull request #842 from processing/all-contributors/add-benfry
SableRaf Nov 1, 2024
729cd55
Merge branch 'main' into all-contributors/add-REAS
SableRaf Nov 1, 2024
b5b37b3
Merge pull request #843 from processing/all-contributors/add-REAS
SableRaf Nov 1, 2024
33a5746
Update .all-contributorsrc
SableRaf Nov 1, 2024
adda5d9
Merge pull request #844 from processing/SableRaf-all-contributors-batch
SableRaf Nov 1, 2024
4f06532
Update .all-contributorsrc
SableRaf Nov 1, 2024
49db1d7
docs: update README.md [skip ci]
allcontributors[bot] Nov 1, 2024
0093c0f
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 1, 2024
1972d10
Merge pull request #845 from processing/all-contributors/add-mingness
SableRaf Nov 1, 2024
2e69ab8
Update .all-contributorsrc to fix avatars
SableRaf Nov 1, 2024
91b030e
docs: update README.md [skip ci]
allcontributors[bot] Nov 1, 2024
e283ae7
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 1, 2024
0d61f46
Merge pull request #846 from processing/all-contributors/add-doradocodes
SableRaf Nov 1, 2024
51783b5
Add contributors from processing/processing repo
SableRaf Nov 1, 2024
ec2ce58
Merge pull request #847 from processing/SableRaf-add-processing3-cont…
SableRaf Nov 1, 2024
c77ff90
docs: update README.md [skip ci]
allcontributors[bot] Nov 1, 2024
2b6515a
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 1, 2024
aa11e94
Merge pull request #848 from processing/all-contributors/add-diyaayay
SableRaf Nov 1, 2024
9872f5b
Update .all-contributorsrc to remove duplicate
SableRaf Nov 1, 2024
11c0b77
Update README.md
SableRaf Nov 1, 2024
3480928
docs: update README.md [skip ci]
allcontributors[bot] Nov 1, 2024
799dd41
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 1, 2024
bcded6e
Merge pull request #849 from processing/all-contributors/add-neilcsmi…
SableRaf Nov 1, 2024
d4a7731
Update README.md
SableRaf Nov 1, 2024
3b67535
docs: update README.md [skip ci]
allcontributors[bot] Nov 1, 2024
7c4e80b
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 1, 2024
0ea37fb
Merge pull request #850 from processing/all-contributors/add-hx2A
SableRaf Nov 4, 2024
614f31a
Update todo.txt
SableRaf Nov 7, 2024
e276a7b
Update build.yml [skip-ci]
Stefterv Nov 7, 2024
9fcdbe3
Update done.txt
SableRaf Nov 7, 2024
425faff
Update README.md
SableRaf Nov 7, 2024
4e834f0
Added missing examples
Stefterv Nov 11, 2024
ec9b7c5
Update build.yml
Stefterv Nov 11, 2024
a7b7b2f
processing-examples modification
Stefterv Nov 11, 2024
b26caa5
Update build.yml
Stefterv Nov 11, 2024
9e2500a
Update build.xml
Stefterv Nov 11, 2024
00ce121
Merge branch 'core-maven' into main
Stefterv Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,389 changes: 1,389 additions & 0 deletions .all-contributorsrc

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions .github/ARM32.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Processing 32-bit Linux

For the Raspberry Pi 3 and older we'd need to create an 32-bit arm version of
processing.

Github Actions do not support creating 32 bit runners so we need to host one
ourselves.

## Instructions

### Gathering your Tools

You will need:

- A Raspberry Pi
- A micro SD card
- An SD card reader
- A computer

### Flashing the SD Card
1. Install and open [**Raspberry Pi Imager**](https://www.raspberrypi.com/software/) on your computer
2. In **Raspberry Pi Imager**:
- Select your Raspberry Pi model
- Select "Raspberry PI OS lite (32bit)" as the OS (you may need to look into the sub-menus)
- Select your SD card
- Click NEXT
3. Edit the OS settings:
- Set a hostname (e.g. `processing.local`)
- Set a username and password
- Go to the SERVICES tab and enable SSH with password authentication
- Click SAVE and Apply the OS customisation settings

### Configuring the Raspberry Pi
1. Take the written SD card and put it into the Raspberry PI
2. Power it up and wait for it to boot
3. SSH into the Raspberry Pi using the hostname, username, and password you set earlier
4. Follow Github's [instructions on how to set up a self-hosted runner](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners). _Note: In the `./config.sh` setup step, you will be prompted to enter a name and other settings. Use default settings by pressing ENTER for each prompt._
5. Verify that the new runner appears in the list of runners on GitHub.
6. Quit the the runner in the terminal (we will set it up to run automatically on boot).
7. Use Github [instructions to setup the runner as a services](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/configuring-the-self-hosted-runner-application-as-a-service) so it runs on boot.

Done.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: 🌐 Processing Website Issues
url: https://github.com/processing/processing-website/issues
Expand Down
131 changes: 49 additions & 82 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Build
on: [push]
name: Pre-releases
on:
push:
paths-ignore:
- '**/*.md'
- '.all-contributorsrc'

jobs:
test:
runs-on: ubuntu-latest
name: Run Tests
steps:
- name: Checkout
- name: Checkout Repository
uses: actions/checkout@v4
- name: Update apt
run: yes | sudo apt-get update
- name: Install rsync
run: yes | sudo apt-get install rsync
- name: Install Java
uses: actions/setup-java@v4
with:
Expand All @@ -21,89 +21,56 @@ jobs:
- name: Build
run: >
cd build;
ant clean;
ant build
- name: Test
run: >
cd build;
ant test
linux:
runs-on: ubuntu-latest
name: Build Linux
needs: [test]
ant -noinput build test;
build:
name: Create Pre-release for ${{ matrix.os_prefix }} (${{ matrix.arch }})
needs: test
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
matrix:
include:
# compiling for arm32 needs a self-hosted runner on Raspi OS (32-bit)
- os: self-hosted
os_prefix: linux
arch: arm
- os: ubuntu-latest
os_prefix: linux
arch: x64
- os: windows-latest
os_prefix: windows
arch: x64
- os: macos-latest
os_prefix: macos
arch: x64
- os: macos-latest
os_prefix: macos
arch: aarch64
- os: macos-latest
os_prefix: linux
arch: aarch64
steps:
- name: Checkout
- name: Checkout Repository
uses: actions/checkout@v4
- name: Update apt
run: yes | sudo apt-get update
- name: Install rsync
run: yes | sudo apt-get install rsync
- name: Install Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
architecture: x64
- name: Build linux
run: >
cd build;
ant clean;
ant build
- name: Add artifact
uses: actions/upload-artifact@v3
if: ${{ github.ref == 'ref/head/main' }}
with:
name: linux
path: ./build/linux/work
mac:
runs-on: macos-latest
name: Build Mac
needs: [test]
steps:
- name: Checkout
- name: Checkout Examples Repository
uses: actions/checkout@v4
- name: Install brew
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: Install rsync
run: brew install rsync
- name: Install Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
architecture: x64
- name: Build mac
run: >
cd build;
ant clean;
ant build
- name: Add artifact
uses: actions/upload-artifact@v3
if: ${{ github.ref == 'ref/head/main' }}
with:
name: macos
path: ./build/macos/work
windows:
runs-on: windows-latest
name: Build Windows
needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v4
repository: processing/processing-examples
path: processing-examples
- name: Install Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
architecture: x64
- name: Build
run: >
cd build;
ant clean;
ant build
architecture: ${{ matrix.arch }}
- name: Setup Ant
uses: cedx/setup-ant@v3
- name: Build Release
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
- name: Add artifact
uses: actions/upload-artifact@v3
if: ${{ github.ref == 'ref/head/main' }}
uses: actions/upload-artifact@v4
with:
name: windows
path: ./build/windows/work
name: processing-${{github.sha}}${{ matrix.os_prefix }}-${{ matrix.arch }}
path: ./build/${{ matrix.os_prefix }}/processing-${{github.sha}}-${{ matrix.os_prefix}}-*
retention-days: 1
64 changes: 64 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Pull Requests
on:
pull_request:
paths-ignore:
- '**/*.md'
branches:
- main

jobs:
build:
name: Create Pull Request Build for ${{ matrix.os_prefix }} (${{ matrix.arch }})
runs-on: ${{ matrix.os }}
permissions:
pull-requests: write
contents: read
strategy:
matrix:
include:
# compiling for arm32 needs a self-hosted runner on Raspi OS (32-bit)
- os: self-hosted
os_prefix: linux
arch: arm
- os: ubuntu-latest
os_prefix: linux
arch: x64
- os: windows-latest
os_prefix: windows
arch: x64
- os: macos-latest
os_prefix: macos
arch: x64
- os: macos-latest
os_prefix: macos
arch: aarch64
- os: macos-latest
os_prefix: linux
arch: aarch64
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
architecture: ${{ matrix.arch }}
- name: Setup Ant
uses: cedx/setup-ant@v3
- name: Build Release
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ github.sha }}"
- name: Add artifact
uses: actions/upload-artifact@v3
id: upload
with:
name: processing-${{github.sha}}${{ matrix.os_prefix }}-${{ matrix.arch }}
path: ./build/${{ matrix.os_prefix }}/processing-${{github.sha}}-${{ matrix.os_prefix}}-*
retention-days: 5
# TODO: Merge into one comment and fix the link
# - uses: mshick/add-pr-comment@v2
# with:
# message-id: "build-artifact ${{ matrix.os_prefix }} ${{ matrix.arch }}"
# message: |
# Build artifacts for ${{ matrix.os_prefix }} (${{ matrix.arch }}) have been created.
# Download the artifacts [here](${{ steps.upload.outputs.artifact-id }}).
83 changes: 83 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: Releases
on:
release:
types: [published]
push:
tags:
- processing-*

jobs:
version:
runs-on: ubuntu-latest
outputs:
build_number: ${{ steps.tag_info.outputs.build_number }}
version: ${{ steps.tag_info.outputs.version }}
steps:
- name: Extract version and build number
id: tag_info
shell: bash
run: |
TAG_NAME="${GITHUB_REF#refs/tags/}"
BUILD_NUMBER=$(echo "$TAG_NAME" | cut -d'-' -f2)
VERSION=$(echo "$TAG_NAME" | cut -d'-' -f3)

# Set outputs for use in later jobs or steps
echo "build_number=$BUILD_NUMBER" >> $GITHUB_OUTPUT
echo "version=$VERSION" >> $GITHUB_OUTPUT
build:
name: Publish Release for ${{ matrix.os_prefix }} (${{ matrix.arch }})
runs-on: ${{ matrix.os }}
needs: version
permissions:
contents: write
strategy:
matrix:
include:
# compiling for arm32 needs a self-hosted runner on Raspi OS (32-bit)
- os: self-hosted
os_prefix: linux
arch: arm
- os: ubuntu-latest
os_prefix: linux
arch: x64
- os: windows-latest
os_prefix: windows
arch: x64
- os: macos-latest
os_prefix: macos
arch: x64
- os: macos-latest
os_prefix: macos
arch: aarch64
- os: macos-latest
os_prefix: linux
arch: aarch64
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
architecture: ${{ matrix.arch }}
- name: Setup Ant
uses: cedx/setup-ant@v3
- name: Install Certificates for Code Signing
if: ${{ matrix.os_prefix == 'macos' }}
uses: apple-actions/import-codesign-certs@v3
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: Build Release
run: ant -noinput -buildfile build/build.xml ${{ matrix.os_prefix }}-dist -Dversion="${{ needs.version.outputs.version }}"
env:
PROCESSING_APP_PASSWORD: ${{ secrets.PROCESSING_APP_PASSWORD }}
PROCESSING_APPLE_ID: ${{ secrets.PROCESSING_APPLE_ID }}
PROCESSING_TEAM_ID: ${{ secrets.PROCESSING_TEAM_ID }}
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./build/${{ matrix.os_prefix }}/processing-${{ needs.version.outputs.version }}-${{ matrix.os_prefix}}-*
file_glob: true
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ bin-test
.project
.vscode/

# Processing examples
processing-examples

# Maven ignores
.gradle
core/build/
gradlew
Expand Down
4 changes: 2 additions & 2 deletions CODE-OF-CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Processing is a flexible software sketchbook and a language for learning how to

We make room for people to get involved in the project at any point they wish. This means that we:

* Welcome contributors at any stage of their programming journey, from newcomers to professionals;
* Welcome contributors at any stage of their journey, from newcomers to professionals;
* Do not assume knowledge or imply there are things that somebody should know;
* Understand that people are the experts of their own experiences, and bring a variety of valid perspectives to the development of open source projects;
* Know that contribution is not just limited to code, and can also include working on documentation, filing issues and bug reports, and other important forms of input;
* Work to offer help and guidance when we are able to do so.

## Our Standards

All developers who contribute to the Processing project agree to abide by the following code of conduct.
All contributors to the Processing project agree to abide by the following code of conduct.

### Respect other people

Expand Down
Loading
Loading