@@ -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