Skip to content

Commit b7c8e8b

Browse files
authored
Merge branch 'master' into rename-getIsEnabled
2 parents 6434c61 + 318ee9f commit b7c8e8b

File tree

1,038 files changed

+44614
-137051
lines changed

Some content is hidden

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

1,038 files changed

+44614
-137051
lines changed

.github/build-android.yml renamed to .github/disabled/build-android.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
build-android:
19-
runs-on: ubuntu-18.04
19+
runs-on: ubuntu-20.04
2020
strategy:
2121
matrix:
2222
cfg:
@@ -45,7 +45,5 @@ jobs:
4545
run: ./scripts/$TARGET/download_libs.sh
4646
- name: Build
4747
run: ./scripts/ci/$TARGET/build.sh
48-
- name: Upload Libs
49-
run: scripts/ci/upload_of_lib.sh;
5048
env:
5149
GA_CI_SECRET: ${{ secrets.CI_SECRET }}

.github/disabled/build-linux-arm.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: build-linux-arm
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+
env:
17+
ccache: ccache
18+
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
23+
jobs:
24+
build-linux-arm-platforms:
25+
runs-on: ubuntu-latest
26+
strategy:
27+
matrix:
28+
cfg:
29+
- {target: linuxarmv6l, libs: armv6l}
30+
- {target: linuxaarch64, libs: aarch64}
31+
env:
32+
TARGET: ${{matrix.cfg.target}}
33+
steps:
34+
- name: Cache Packages
35+
uses: awalsh128/cache-apt-pkgs-action@latest
36+
with:
37+
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
38+
version: 1.0
39+
40+
- uses: actions/checkout@v4
41+
- name: ccache
42+
uses: hendrikmuhs/ccache-action@v1.2.12
43+
with:
44+
# key: ${{ matrix.os }}-${{ matrix.type }}
45+
key: ${{ matrix.cfg.target }}
46+
- name: Download libs
47+
run: ./scripts/linux/download_libs.sh -a ${{matrix.cfg.libs}};
48+
- name: Install dependencies
49+
run: ./scripts/ci/$TARGET/install.sh;
50+
- name: Build
51+
run: ./scripts/ci/$TARGET/build.sh;

.github/workflows/build-vs.yml renamed to .github/disabled/build-vs2019.yml

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

16+
env:
17+
ccache: ccache
18+
1619
concurrency:
1720
group: ${{ github.workflow }}-${{ github.ref }}
1821
cancel-in-progress: true
@@ -29,7 +32,7 @@ jobs:
2932
BITS: ${{ matrix.bits }}
3033
steps:
3134
- name: Clone repository
32-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3336
- uses: msys2/setup-msys2@v2
3437
with:
3538
update: true

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

Lines changed: 8 additions & 7 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-20.04
25+
runs-on: ubuntu-24.04
2326
strategy:
2427
matrix:
2528
cfg:
2629
- {target: emscripten}
27-
env:
28-
TARGET: ${{matrix.cfg.target}}
2930
steps:
30-
- uses: actions/checkout@v3
31+
- 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:
Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: build-ios-tvos
22

3-
43
# make the action not run on the local repo if the branch is also in a pull request to OF/OF
54
on:
65
push:
@@ -14,29 +13,36 @@ on:
1413
- '**/*.md'
1514
- 'examples/**'
1615

17-
1816
concurrency:
1917
group: ${{ github.workflow }}-${{ github.ref }}
2018
cancel-in-progress: true
2119

20+
env:
21+
ccache: ccache
22+
2223
jobs:
23-
build-osx:
24-
runs-on: macos-12
24+
build-ios-tvos:
25+
runs-on: macos-13
2526
strategy:
2627
matrix:
2728
cfg:
28-
- {target: ios, libs: ios}
29-
#- {target: tvos, libs: ios} #broken currently maybe better to just remove
29+
- {target: ios, libs: macos}
30+
- {target: tvos, libs: macos}
3031
env:
3132
TARGET: ${{matrix.cfg.target}}
3233
steps:
33-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
35+
- name: ccache
36+
uses: hendrikmuhs/ccache-action@v1.2.13
37+
with:
38+
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.libs }}
39+
3440
- name: Download libs
35-
run: ./scripts/${{matrix.cfg.libs}}/download_libs.sh
41+
run: ./scripts/macos/download_latest_libs.sh
3642
- name: install
3743
run: ./scripts/ci/$TARGET/install.sh
3844
- name: Build
3945
run: ./scripts/ci/$TARGET/build.sh;
4046

4147
env:
42-
DEVELOPER_DIR: "/Applications/Xcode_13.4.1.app/Contents/Developer"
48+
DEVELOPER_DIR: "/Applications/Xcode.app/Contents/Developer"
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: build-linux64
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+
build-linux64-platforms:
25+
runs-on: ubuntu-latest
26+
strategy:
27+
matrix:
28+
cfg:
29+
- {target: linux64, libs: 64gcc6}
30+
env:
31+
TARGET: ${{matrix.cfg.target}}
32+
steps:
33+
- name: Remove Old lib-unwind
34+
run: if [ "$TARGET" = "linux64" ]; then
35+
sudo apt-get remove libunwind-14 -y;
36+
fi
37+
# - name: Cache Packages
38+
# uses: awalsh128/cache-apt-pkgs-action@latest
39+
# with:
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
41+
# version: 1.0
42+
43+
- uses: actions/checkout@v4
44+
- name: ccache
45+
uses: hendrikmuhs/ccache-action@v1.2.13
46+
with:
47+
key: ${{ matrix.cfg.target }}-${{ 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/$TARGET/install.sh;
53+
- name: Build
54+
run: if [ "$TARGET" = "linux64" ]; then
55+
scripts/ci/linux64/build.sh;
56+
scripts/ci/$TARGET/run_tests.sh;
57+
else
58+
scripts/ci/$TARGET/build.sh;
59+
fi
60+
# - name: Upload Libs
61+
# run: scripts/ci/upload_of_lib.sh;
62+
# env:
63+
# GA_CI_SECRET: ${{ secrets.CI_SECRET }}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: build-macos
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+
build-macos:
25+
runs-on: macos-14
26+
strategy:
27+
matrix:
28+
cfg:
29+
- {target: macos, opt: "xcode"}
30+
- {target: macos, opt: "makefiles"}
31+
steps:
32+
- uses: actions/checkout@v4
33+
- name: ccache
34+
uses: hendrikmuhs/ccache-action@v1.2.13
35+
with:
36+
# key: ${{ matrix.os }}-${{ matrix.type }}
37+
key: ${{ matrix.cfg.target }}-${{ matrix.cfg.opt }}
38+
# key: ${{ matrix.msystem }}
39+
40+
- name: Download libs
41+
# continue-on-error: true
42+
run: ./scripts/${{ matrix.cfg.target }}/download_latest_libs.sh
43+
# this step is not needed here because the script is empty
44+
# - name: install
45+
# run: ./scripts/ci/$TARGET/install.sh
46+
47+
- name: Build
48+
run:
49+
if [ ${{ matrix.cfg.opt }} = "xcode" ]; then
50+
scripts/ci/${{ matrix.cfg.target }}/build.sh ${{ matrix.cfg.opt }};
51+
else
52+
scripts/ci/${{ matrix.cfg.target }}/run_tests.sh;
53+
fi
54+
env:
55+
DEVELOPER_DIR: "/Applications/Xcode.app/Contents/Developer"
56+
SDKROOT: "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"

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

Lines changed: 25 additions & 5 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-msys2:
2225
runs-on: windows-latest
@@ -29,19 +32,36 @@ jobs:
2932
run:
3033
shell: msys2 {0}
3134
steps:
32-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
36+
- name: ccache
37+
uses: hendrikmuhs/ccache-action@v1.2.13
38+
with:
39+
# key: ${{ matrix.os }}-${{ matrix.type }}
40+
key: ${{ matrix.msystem }}
3341
- uses: msys2/setup-msys2@v2
3442
with:
35-
update: true
43+
cache: true
44+
release: true
45+
update: false
3646
msystem: ${{matrix.msystem}}
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
3748
install: >-
38-
git
3949
unzip
40-
rsync
41-
wget
50+
make
51+
# lld
52+
# gcc:p gdb:p zlib:p poco:p pkgconf:p harfbuzz:p ntldd-git:p
53+
# boost:p tools:p
54+
# install: >-
55+
# unzip
56+
# git
57+
# rsync
58+
# wget
59+
4260
- name: Install dependencies
4361
run: ./scripts/ci/msys2/install.sh
62+
4463
- name: Build
4564
run: ./scripts/ci/msys2/build.sh
65+
4666
- name: Run tests
4767
run: ./scripts/ci/msys2/run_tests.sh

0 commit comments

Comments
 (0)