Skip to content

Commit afa46e9

Browse files
committed
Fixes
1 parent bfcccfe commit afa46e9

File tree

6 files changed

+158
-158
lines changed

6 files changed

+158
-158
lines changed

.github/workflows/build_android.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ jobs:
5151
ndk-version: ${{env.NDK_VERSION}}
5252

5353
- name: Configure
54-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_TARGET_ANDROID=ON -DYUP_ENABLE_TESTS=ON -DYUP_ENABLE_EXAMPLES=ON
54+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_TARGET_ANDROID=ON -DYUP_ENABLE_TESTS=ON -DYUP_ENABLE_EXAMPLES=ON
5555

5656
- name: Cache Configure
5757
id: cache-build
5858
uses: actions/cache/save@v4
5959
with:
60-
path: ${{runner.workspace}}/build
60+
path: ${{ runner.workspace }}/build
6161
key: android-build-${{ github.sha }}
6262

6363
build_app:
@@ -80,14 +80,14 @@ jobs:
8080
- uses: actions/cache/restore@v4
8181
id: cache-restore
8282
with:
83-
path: ${{runner.workspace}}/build
83+
path: ${{ runner.workspace }}/build
8484
key: android-build-${{ github.sha }}
8585
- name: Configure If Cache Missed
8686
if: steps.cache-restore.outputs.cache-hit != 'true'
87-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_TARGET_ANDROID=ON -DYUP_ENABLE_EXAMPLES=ON
88-
- working-directory: ${{runner.workspace}}/build/examples/app
87+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_TARGET_ANDROID=ON -DYUP_ENABLE_EXAMPLES=ON
88+
- working-directory: ${{ runner.workspace }}/build/examples/app
8989
run: ./gradlew assembleDebug
90-
- working-directory: ${{runner.workspace}}/build/examples/app
90+
- working-directory: ${{ runner.workspace }}/build/examples/app
9191
run: ./gradlew assemble
9292

9393
build_graphics:
@@ -110,14 +110,14 @@ jobs:
110110
- uses: actions/cache/restore@v4
111111
id: cache-restore
112112
with:
113-
path: ${{runner.workspace}}/build
113+
path: ${{ runner.workspace }}/build
114114
key: android-build-${{ github.sha }}
115115
- name: Configure If Cache Missed
116116
if: steps.cache-restore.outputs.cache-hit != 'true'
117-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_TARGET_ANDROID=ON -DYUP_ENABLE_EXAMPLES=ON
118-
- working-directory: ${{runner.workspace}}/build/examples/graphics
117+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_TARGET_ANDROID=ON -DYUP_ENABLE_EXAMPLES=ON
118+
- working-directory: ${{ runner.workspace }}/build/examples/graphics
119119
run: ./gradlew assembleDebug
120-
- working-directory: ${{runner.workspace}}/build/examples/graphics
120+
- working-directory: ${{ runner.workspace }}/build/examples/graphics
121121
run: ./gradlew assemble
122122

123123
build_render:
@@ -140,12 +140,12 @@ jobs:
140140
- uses: actions/cache/restore@v4
141141
id: cache-restore
142142
with:
143-
path: ${{runner.workspace}}/build
143+
path: ${{ runner.workspace }}/build
144144
key: android-build-${{ github.sha }}
145145
- name: Configure If Cache Missed
146146
if: steps.cache-restore.outputs.cache-hit != 'true'
147-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_TARGET_ANDROID=ON -DYUP_ENABLE_EXAMPLES=ON
148-
- working-directory: ${{runner.workspace}}/build/examples/render
147+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_TARGET_ANDROID=ON -DYUP_ENABLE_EXAMPLES=ON
148+
- working-directory: ${{ runner.workspace }}/build/examples/render
149149
run: ./gradlew assembleDebug
150-
- working-directory: ${{runner.workspace}}/build/examples/render
150+
- working-directory: ${{ runner.workspace }}/build/examples/render
151151
run: ./gradlew assemble

.github/workflows/build_ios.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,19 @@ jobs:
3636

3737
- name: Configure
3838
run: |
39-
cmake ${{runner.workspace}} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
40-
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{runner.workspace}}/build -DYUP_ENABLE_TESTS=ON -DYUP_ENABLE_EXAMPLES=ON
39+
cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
40+
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_TESTS=ON -DYUP_ENABLE_EXAMPLES=ON
4141
4242
- name: Build SDL2
4343
run: |
44-
cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target SDL2-static
45-
cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target SDL2-static
44+
cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target SDL2-static
45+
cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target SDL2-static
4646
4747
- name: Cache Configure
4848
id: cache-build
4949
uses: actions/cache/save@v4
5050
with:
51-
path: ${{runner.workspace}}/build
51+
path: ${{ github.workspace }}/build
5252
key: ios-build-${{ github.sha }}
5353

5454
build_console:
@@ -60,15 +60,15 @@ jobs:
6060
- uses: actions/cache/restore@v4
6161
id: cache-restore
6262
with:
63-
path: ${{runner.workspace}}/build
63+
path: ${{ runner.workspace }}/build
6464
key: ios-build-${{ github.sha }}
6565
- name: Configure If Cache Missed
6666
if: steps.cache-restore.outputs.cache-hit != 'true'
6767
run: |
68-
cmake ${{runner.workspace}} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
69-
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
70-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_console
71-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_console
68+
cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
69+
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
70+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_console
71+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_console
7272

7373
build_app:
7474
runs-on: macos-latest
@@ -79,15 +79,15 @@ jobs:
7979
- uses: actions/cache/restore@v4
8080
id: cache-restore
8181
with:
82-
path: ${{runner.workspace}}/build
82+
path: ${{ runner.workspace }}/build
8383
key: ios-build-${{ github.sha }}
8484
- name: Configure If Cache Missed
8585
if: steps.cache-restore.outputs.cache-hit != 'true'
8686
run: |
87-
cmake ${{runner.workspace}} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
88-
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
89-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_app
90-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_app
87+
cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
88+
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
89+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_app
90+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_app
9191

9292
build_graphics:
9393
runs-on: macos-latest
@@ -98,15 +98,15 @@ jobs:
9898
- uses: actions/cache/restore@v4
9999
id: cache-restore
100100
with:
101-
path: ${{runner.workspace}}/build
101+
path: ${{ runner.workspace }}/build
102102
key: ios-build-${{ github.sha }}
103103
- name: Configure If Cache Missed
104104
if: steps.cache-restore.outputs.cache-hit != 'true'
105105
run: |
106-
cmake ${{runner.workspace}} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
107-
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
108-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_graphics
109-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_graphics
106+
cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
107+
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
108+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_graphics
109+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_graphics
110110

111111
build_render:
112112
runs-on: macos-latest
@@ -117,12 +117,12 @@ jobs:
117117
- uses: actions/cache/restore@v4
118118
id: cache-restore
119119
with:
120-
path: ${{runner.workspace}}/build
120+
path: ${{ runner.workspace }}/build
121121
key: ios-build-${{ github.sha }}
122122
- name: Configure If Cache Missed
123123
if: steps.cache-restore.outputs.cache-hit != 'true'
124124
run: |
125-
cmake ${{runner.workspace}} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
126-
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
127-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_render
128-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_render
125+
cmake ${{ github.workspace }} -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/ios.cmake \
126+
-DPLATFORM=${{ env.IOS_PLATFORM }} -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
127+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_render
128+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_render

.github/workflows/build_linux.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ jobs:
4141
run: sudo apt-get update && sudo apt-get install -y ${INSTALL_DEPS}
4242

4343
- name: Configure
44-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_ENABLE_TESTS=ON -DYUP_ENABLE_EXAMPLES=ON
44+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_ENABLE_TESTS=ON -DYUP_ENABLE_EXAMPLES=ON
4545

4646
- name: Build SDL2
4747
run: |
48-
cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target SDL2-static
49-
cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target SDL2-static
48+
cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target SDL2-static
49+
cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target SDL2-static
5050
5151
- name: Cache Configure
5252
id: cache-build
5353
uses: actions/cache/save@v4
5454
with:
55-
path: ${{runner.workspace}}/build
55+
path: ${{ runner.workspace }}/build
5656
key: linux-build-${{ github.sha }}
5757

5858
build_tests:
@@ -65,16 +65,16 @@ jobs:
6565
- uses: actions/cache/restore@v4
6666
id: cache-restore
6767
with:
68-
path: ${{runner.workspace}}/build
68+
path: ${{ runner.workspace }}/build
6969
key: linux-build-${{ github.sha }}
7070
- name: Configure If Cache Missed
7171
if: steps.cache-restore.outputs.cache-hit != 'true'
72-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_ENABLE_TESTS=ON
73-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target yup_tests
74-
- working-directory: ${{runner.workspace}}/build/tests/Debug
72+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_ENABLE_TESTS=ON
73+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target yup_tests
74+
- working-directory: ${{ runner.workspace }}/build/tests/Debug
7575
run: ./yup_tests
76-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target yup_tests
77-
- working-directory: ${{runner.workspace}}/build/tests/Release
76+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target yup_tests
77+
- working-directory: ${{ runner.workspace }}/build/tests/Release
7878
run: ./yup_tests
7979

8080
build_console:
@@ -87,13 +87,13 @@ jobs:
8787
- uses: actions/cache/restore@v4
8888
id: cache-restore
8989
with:
90-
path: ${{runner.workspace}}/build
90+
path: ${{ runner.workspace }}/build
9191
key: linux-build-${{ github.sha }}
9292
- name: Configure If Cache Missed
9393
if: steps.cache-restore.outputs.cache-hit != 'true'
94-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
95-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_console
96-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_console
94+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
95+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_console
96+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_console
9797

9898
build_app:
9999
runs-on: ubuntu-latest
@@ -105,13 +105,13 @@ jobs:
105105
- uses: actions/cache/restore@v4
106106
id: cache-restore
107107
with:
108-
path: ${{runner.workspace}}/build
108+
path: ${{ runner.workspace }}/build
109109
key: linux-build-${{ github.sha }}
110110
- name: Configure If Cache Missed
111111
if: steps.cache-restore.outputs.cache-hit != 'true'
112-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
113-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_app
114-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_app
112+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
113+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_app
114+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_app
115115

116116
build_graphics:
117117
runs-on: ubuntu-latest
@@ -123,13 +123,13 @@ jobs:
123123
- uses: actions/cache/restore@v4
124124
id: cache-restore
125125
with:
126-
path: ${{runner.workspace}}/build
126+
path: ${{ runner.workspace }}/build
127127
key: linux-build-${{ github.sha }}
128128
- name: Configure If Cache Missed
129129
if: steps.cache-restore.outputs.cache-hit != 'true'
130-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
131-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_graphics
132-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_graphics
130+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
131+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_graphics
132+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_graphics
133133

134134
build_render:
135135
runs-on: ubuntu-latest
@@ -141,13 +141,13 @@ jobs:
141141
- uses: actions/cache/restore@v4
142142
id: cache-restore
143143
with:
144-
path: ${{runner.workspace}}/build
144+
path: ${{ runner.workspace }}/build
145145
key: linux-build-${{ github.sha }}
146146
- name: Configure If Cache Missed
147147
if: steps.cache-restore.outputs.cache-hit != 'true'
148-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
149-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_render
150-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_render
148+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
149+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_render
150+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_render
151151

152152
build_plugin:
153153
runs-on: ubuntu-latest
@@ -159,14 +159,14 @@ jobs:
159159
- uses: actions/cache/restore@v4
160160
id: cache-restore
161161
with:
162-
path: ${{runner.workspace}}/build
162+
path: ${{ runner.workspace }}/build
163163
key: linux-build-${{ github.sha }}
164164
- name: Configure If Cache Missed
165165
if: steps.cache-restore.outputs.cache-hit != 'true'
166-
run: cmake ${{runner.workspace}} -G "Ninja Multi-Config" -B ${{runner.workspace}}/build -DYUP_ENABLE_EXAMPLES=ON
167-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_plugin_clap_plugin
168-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_plugin_clap_plugin
169-
#- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_plugin_vst3_plugin
170-
#- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_plugin_vst3_plugin
171-
- run: cmake --build ${{runner.workspace}}/build --config Debug --parallel 4 --target example_plugin_standalone_plugin
172-
- run: cmake --build ${{runner.workspace}}/build --config Release --parallel 4 --target example_plugin_standalone_plugin
166+
run: cmake ${{ github.workspace }} -G "Ninja Multi-Config" -B ${{ runner.workspace }}/build -DYUP_ENABLE_EXAMPLES=ON
167+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_plugin_clap_plugin
168+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_plugin_clap_plugin
169+
#- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_plugin_vst3_plugin
170+
#- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_plugin_vst3_plugin
171+
- run: cmake --build ${{ runner.workspace }}/build --config Debug --parallel 4 --target example_plugin_standalone_plugin
172+
- run: cmake --build ${{ runner.workspace }}/build --config Release --parallel 4 --target example_plugin_standalone_plugin

0 commit comments

Comments
 (0)