Skip to content

Commit a5d90ab

Browse files
authored
Merge branch 'openframeworks:master' into ofcolor-vector
2 parents ebf18a1 + 24d98aa commit a5d90ab

290 files changed

Lines changed: 3582 additions & 1842 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-emscripten.yml renamed to .github/workflows/actions/build-emscripten.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,26 @@ concurrency:
1717
group: ${{ github.workflow }}-${{ github.ref }}
1818
cancel-in-progress: true
1919

20+
env:
21+
ccache: ccache
22+
2023
jobs:
2124
build-emscripten:
22-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04
2326
strategy:
2427
matrix:
2528
cfg:
2629
- {target: emscripten}
27-
env:
28-
TARGET: ${{matrix.cfg.target}}
2930
steps:
3031
- uses: actions/checkout@v4
3132
- name: Docker Step
3233
run: "docker run -di --name emscripten -v $PWD:/src emscripten/emsdk:3.1.21 bash"
3334
- name: Download libs
34-
run: ./scripts/$TARGET/download_libs.sh
35+
run: ./scripts/${{matrix.cfg.target}}/download_libs.sh
3536
- name: Install dependencies
36-
run: ./scripts/ci/$TARGET/install.sh
37+
run: ./scripts/ci/${{matrix.cfg.target}}/install.sh
3738
- name: Build
38-
run: docker exec -i emscripten sh -c "scripts/ci/$TARGET/build.sh";
39+
run: docker exec -i emscripten sh -c "scripts/ci/${{matrix.cfg.target}}/build.sh";
3940
- name: Upload Libs
4041
run: scripts/ci/upload_of_lib.sh;
4142
env:

.github/workflows/build-ios-tvos.yml renamed to .github/workflows/actions/build-ios-tvos.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ on:
1313
- '**/*.md'
1414
- 'examples/**'
1515

16-
env:
17-
ccache: ccache
18-
1916
concurrency:
2017
group: ${{ github.workflow }}-${{ github.ref }}
2118
cancel-in-progress: true
2219

20+
env:
21+
ccache: ccache
22+
2323
jobs:
2424
build-ios-tvos:
25-
runs-on: macos-12
25+
runs-on: macos-13
2626
strategy:
2727
matrix:
2828
cfg:
@@ -33,7 +33,7 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v4
3535
- name: ccache
36-
uses: hendrikmuhs/ccache-action@v1.2.12
36+
uses: hendrikmuhs/ccache-action@v1.2.13
3737
with:
3838
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}
3939

@@ -45,4 +45,4 @@ jobs:
4545
run: ./scripts/ci/$TARGET/build.sh;
4646

4747
env:
48-
DEVELOPER_DIR: "/Applications/Xcode_13.4.1.app/Contents/Developer"
48+
DEVELOPER_DIR: "/Applications/Xcode_15.2.app/Contents/Developer"

.github/workflows/build-linux64.yml renamed to .github/workflows/actions/build-linux64.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ on:
1313
- '**/*.md'
1414
- 'examples/**'
1515

16-
env:
17-
ccache: ccache
18-
1916
concurrency:
2017
group: ${{ github.workflow }}-${{ github.ref }}
2118
cancel-in-progress: true
2219

20+
env:
21+
ccache: ccache
22+
2323
jobs:
2424
build-linux64-platforms:
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04
2626
strategy:
2727
matrix:
2828
cfg:
@@ -37,12 +37,12 @@ jobs:
3737
- name: Cache Packages
3838
uses: awalsh128/cache-apt-pkgs-action@latest
3939
with:
40-
packages: make curl libunwind-dev libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libssl-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libcurl4-openssl-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
40+
packages: wget2 make curl libunwind-dev libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libssl-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libcurl4-openssl-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
4141
version: 1.0
4242

4343
- uses: actions/checkout@v4
4444
- name: ccache
45-
uses: hendrikmuhs/ccache-action@v1.2.12
45+
uses: hendrikmuhs/ccache-action@v1.2.13
4646
with:
4747
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}
4848

@@ -61,4 +61,3 @@ jobs:
6161
# run: scripts/ci/upload_of_lib.sh;
6262
# env:
6363
# GA_CI_SECRET: ${{ secrets.CI_SECRET }}
64-
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ on:
1313
- '**/*.md'
1414
- 'examples/**'
1515

16-
env:
17-
ccache: ccache
18-
1916
concurrency:
2017
group: ${{ github.workflow }}-${{ github.ref }}
2118
cancel-in-progress: true
2219

20+
env:
21+
ccache: ccache
22+
2323
jobs:
2424
build-macos:
2525
runs-on: macos-13
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
- uses: actions/checkout@v4
3333
- name: ccache
34-
uses: hendrikmuhs/ccache-action@v1.2.12
34+
uses: hendrikmuhs/ccache-action@v1.2.13
3535
with:
3636
# key: ${{ matrix.os }}-${{ matrix.type }}
3737
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.opt }}
Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ on:
1313
- '**/*.md'
1414
- 'examples/**'
1515

16-
env:
17-
ccache: ccache
18-
1916
concurrency:
2017
group: ${{ github.workflow }}-${{ github.ref }}
2118
cancel-in-progress: true
2219

20+
env:
21+
ccache: ccache
22+
2323
jobs:
2424
build-msys2:
2525
runs-on: windows-latest
@@ -34,16 +34,22 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v4
3636
- name: ccache
37-
uses: hendrikmuhs/ccache-action@v1.2.12
37+
uses: hendrikmuhs/ccache-action@v1.2.13
3838
with:
3939
# key: ${{ matrix.os }}-${{ matrix.type }}
4040
key: ${{ matrix.msystem }}
4141
- uses: msys2/setup-msys2@v2
4242
with:
4343
cache: true
44+
release: true
4445
update: false
4546
msystem: ${{matrix.msystem}}
46-
pacboy: assimp:p cairo:p curl:p freeglut:p FreeImage:p gcc:p gdb:p glew:p glfw:p glm:p harfbuzz:p libsndfile:p libusb:p libxml2:p mpg123:p nlohmann-json:p ntldd-git:p openal:p opencv:p pkgconf:p pugixml:p rtaudio:p uriparser:p utf8cpp:p zlib:p poco:p
47+
pacboy: openssl:p python:p gcc:p assimp:p cairo:p curl:p freeglut:p FreeImage:p glew:p glfw:p glm:p libsndfile:p libusb:p libxml2:p mpg123:p nlohmann-json:p openal:p opencv:p pugixml:p rtaudio:p uriparser:p utf8cpp:p
48+
install: >-
49+
unzip
50+
make
51+
# lld
52+
# gcc:p gdb:p zlib:p poco:p pkgconf:p harfbuzz:p ntldd-git:p
4753
# boost:p tools:p
4854
# install: >-
4955
# unzip
@@ -59,4 +65,3 @@ jobs:
5965

6066
- name: Run tests
6167
run: ./scripts/ci/msys2/run_tests.sh
62-
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: build-rpi
2+
3+
# make the action not run on the local repo if the branch is also in a pull request to OF/OF
4+
on:
5+
push:
6+
if: github.event_name == 'push' && github.event.pull_request == null
7+
paths-ignore:
8+
- '**/*.md'
9+
- 'examples/**'
10+
pull_request:
11+
if: github.event_name == 'pull_request' && github.repository == 'openframeworks/openFrameworks'
12+
paths-ignore:
13+
- '**/*.md'
14+
- 'examples/**'
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
env:
21+
ccache: ccache
22+
23+
jobs:
24+
rpi-build:
25+
runs-on: ubuntu-24.04
26+
strategy:
27+
matrix:
28+
cfg:
29+
- { libs: armv6l, multistrap_arch: armhf, suffix: arm-linux-gnueabihf, alladdons: 1 }
30+
- { libs: aarch64, multistrap_arch: arm64, suffix: aarch64-linux-gnu, alladdons: 1 }
31+
env:
32+
ARCH: ${{matrix.cfg.libs}}
33+
MULTISTRAP_ARCH: ${{matrix.cfg.multistrap_arch}}
34+
ALLADDONSEXAMPLE: ${{matrix.cfg.alladdons}}
35+
steps:
36+
- name: Cache Packages
37+
uses: awalsh128/cache-apt-pkgs-action@latest
38+
with:
39+
packages: wget2 multistrap unzip gcc-${{matrix.cfg.suffix}} g++-${{matrix.cfg.suffix}}
40+
version: 1.0
41+
42+
- uses: actions/checkout@v4
43+
44+
- name: ccache
45+
uses: hendrikmuhs/ccache-action@v1.2.13
46+
with:
47+
key: ${{ matrix.cfg.libs }}
48+
49+
- name: Download libs
50+
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}};
51+
- name: Install dependencies
52+
run: ./scripts/ci/linuxrpi/install.sh;
53+
- name: Build
54+
run: ./scripts/ci/linuxrpi/build.sh;

.github/workflows/build-vs2022.yml renamed to .github/workflows/actions/build-vs2022.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ concurrency:
1717
group: ${{ github.workflow }}-${{ github.ref }}
1818
cancel-in-progress: true
1919

20+
# env:
21+
# ccache: ccache
22+
2023
jobs:
2124
build-vs2022:
2225
runs-on: windows-2022
@@ -28,7 +31,7 @@ jobs:
2831
steps:
2932
- name: Clone repository
3033
uses: actions/checkout@v4
31-
- uses: msys2/setup-msys2@v2
34+
- uses: msys2/setup-msys2@v2.22.0
3235
with:
3336
update: true
3437
install: >-
@@ -58,4 +61,3 @@ jobs:
5861
working-directory: ${{env.GITHUB_WORKSPACE}}
5962
run:
6063
msbuild examples/templates/allAddonsExample/allAddonsExample.vcxproj /p:configuration=debug /p:platform=${{ matrix.platform }} /p:PlatformToolset=v143
61-

.github/workflows/all.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/usr/bin/python3
2+
import glob
3+
4+
lista = glob.glob('actions/*.yml')
5+
print(lista)
6+
contagem = 0
7+
alllines = ''
8+
lines = []
9+
first = True
10+
for a in lista:
11+
print(a)
12+
f = open(a,'r')
13+
# alllines += (f.read() + '\n\n\n\n')
14+
15+
16+
if first:
17+
first = False
18+
lines += 'name: OF'
19+
lines += ''
20+
lines += f.readlines()[1:]
21+
else:
22+
lines += f.readlines()[23:]
23+
# lines.append(f.readlines()[2:])
24+
lines += '\n\n'
25+
lines += '# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \n\n'
26+
# lines.append('\n\n\n\n')
27+
f.close()
28+
29+
all = open('of.yml','w')
30+
# all.write(alllines)
31+
print(lines)
32+
all.writelines(lines)
33+
all.close()
34+
35+
print (alllines)

.github/workflows/manual-nightly.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ on:
66
release:
77
description: 'release'
88
required: true
9-
default: 'nightly'
9+
default: 'nightly'
10+
11+
env:
12+
ccache: ccache
13+
1014
jobs:
1115
manual-nightly:
12-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
1317
strategy:
1418
matrix:
1519
cfg:
@@ -20,11 +24,15 @@ jobs:
2024
- name: Cache Packages
2125
uses: awalsh128/cache-apt-pkgs-action@latest
2226
with:
23-
packages: make curl libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libssl-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libcurl4-openssl-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
27+
packages: aptitude aptitude-common libboost-iostreams1.83.0 libcwidget4 libsigc++-2.0-0v5 libxapian30 fonts-wine{a} libasound2-plugins{a} libcapi20-3t64{a} libosmesa6{a} libpcsclite1{a} libspeexdsp1{a} libwine{a} libxkbregistry0{a} libz-mingw-w64{a} wine{a} wine64 wget2 make curl libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libssl-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libcurl4-openssl-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
2428
# libunwind-dev
2529
version: 1.0
2630

2731
- uses: actions/checkout@v4
32+
- name: ccache
33+
uses: hendrikmuhs/ccache-action@v1.2.13
34+
with:
35+
key: ${{ matrix.cfg.target }}
2836
- name: Install dependencies
2937
run: ./scripts/ci/${{matrix.cfg.target}}/install.sh;
3038
- name: Download libs
@@ -33,7 +41,7 @@ jobs:
3341
run: scripts/ci/package_builds.sh ${{ github.event.inputs.release }};
3442
id: createpackage
3543
- name: Update Release
36-
uses: IsaacShelton/update-existing-release@v1.3.3
44+
uses: IsaacShelton/update-existing-release@v1.3.4
3745
with:
3846
token: ${{ secrets.GITHUB_TOKEN }}
3947
tag: ${{ github.event.inputs.release }}

.github/workflows/nightly-linux64.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@ name: nightly-linux64
33
on:
44
schedule:
55
- cron: "0 6 * * *"
6+
7+
env:
8+
ccache: ccache
9+
610
jobs:
711
build-nightly:
8-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
913
if: github.repository == 'openframeworks/openFrameworks' && github.ref == 'refs/heads/master'
1014
strategy:
1115
matrix:
@@ -19,11 +23,15 @@ jobs:
1923
- name: Cache Packages
2024
uses: awalsh128/cache-apt-pkgs-action@latest
2125
with:
22-
packages: make curl libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libssl-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libcurl4-openssl-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
26+
packages: aptitude aptitude-common libboost-iostreams1.83.0 libcwidget4 libsigc++-2.0-0v5 libxapian30 fonts-wine{a} libasound2-plugins{a} libcapi20-3t64{a} libosmesa6{a} libpcsclite1{a} libspeexdsp1{a} libwine{a} libxkbregistry0{a} libz-mingw-w64{a} wine{a} wine64 wget2 make curl libjack-jackd2-0 libjack-jackd2-dev freeglut3-dev libasound2-dev libxmu-dev libxxf86vm-dev g++ libgl1-mesa-dev libglu1-mesa-dev libraw1394-dev libudev-dev libdrm-dev libglew-dev libopenal-dev libsndfile1-dev libfreeimage-dev libcairo2-dev libfreetype6-dev libssl-dev libpulse-dev libusb-1.0-0-dev libgtk2.0-dev libopencv-dev libassimp-dev librtaudio-dev gdb libglfw3-dev liburiparser-dev libcurl4-openssl-dev libpugixml-dev libgconf-2-4 libgtk2.0-0 libpoco-dev libxcursor-dev libxi-dev libxinerama-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-libav gstreamer1.0-pulseaudio gstreamer1.0-x gstreamer1.0-plugins-bad gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-good
2327
# libunwind-dev
2428
version: 1.0
2529

2630
- uses: actions/checkout@v4
31+
- name: ccache
32+
uses: hendrikmuhs/ccache-action@v1.2.13
33+
with:
34+
key: ${{ matrix.cfg.target }}
2735
- name: Install dependencies
2836
run: ./scripts/ci/$TARGET/install.sh;
2937
- name: Download libs
@@ -32,7 +40,7 @@ jobs:
3240
run: scripts/ci/package_builds.sh;
3341
id: createpackage
3442
- name: Update Release
35-
uses: IsaacShelton/update-existing-release@v1.3.3
43+
uses: IsaacShelton/update-existing-release@v1.3.4
3644
with:
3745
token: ${{ secrets.GITHUB_TOKEN }}
3846
tag: nightly

0 commit comments

Comments
 (0)