Skip to content

Commit 85a7078

Browse files
authored
Merge branch 'master' into ofTrueTypeFont--constructor+misc
2 parents c962594 + cd21c01 commit 85a7078

File tree

177 files changed

+1891
-1283
lines changed

Some content is hidden

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

177 files changed

+1891
-1283
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ 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:

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

Lines changed: 3 additions & 3 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-ios-tvos:
2525
runs-on: macos-13

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

Lines changed: 4 additions & 5 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:
@@ -61,4 +61,3 @@ jobs:
6161
# run: scripts/ci/upload_of_lib.sh;
6262
# env:
6363
# GA_CI_SECRET: ${{ secrets.CI_SECRET }}
64-

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

Lines changed: 3 additions & 3 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

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

Lines changed: 9 additions & 5 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
@@ -41,9 +41,14 @@ jobs:
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: 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+
# gcc:p gdb:p zlib:p poco:p pkgconf:p harfbuzz:p ntldd-git:p
4752
# boost:p tools:p
4853
# install: >-
4954
# unzip
@@ -59,4 +64,3 @@ jobs:
5964

6065
- name: Run tests
6166
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: 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.12
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: 3 additions & 1 deletion
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
@@ -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/build-linux-arm.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)