22run-name : ${{ github.actor }} is testing out GitHub Actions 🚀
33
44on :
5+ pull_request :
6+ branches :
7+ - main
58 push :
69 workflow_dispatch :
710
6871
6972 - name : Run with GLM_ENABLE_SIMD_SSE2
7073 run : |
71- cmake -S. -B ./build_sse2_std -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE =ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
74+ cmake -S. -B ./build_sse2_std -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2 =ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
7275 cmake --build ./build_sse2_std --config ${{matrix.config}}
7376 ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_std
7477
@@ -113,6 +116,8 @@ jobs:
113116 exclude :
114117 - os : ubuntu-20.04
115118 std : 20
119+ - os : ubuntu-latest
120+ std : 98
116121
117122 steps :
118123 - run : echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
@@ -147,7 +152,7 @@ jobs:
147152
148153 - name : Run with GLM_ENABLE_SIMD_SSE2
149154 run : |
150- cmake -S. -B ./build_sse2_std -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE =ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
155+ cmake -S. -B ./build_sse2_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2 =ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
151156 cmake --build ./build_sse2_std --config ${{matrix.config}}
152157 ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_std
153158 - name : Run with GLM_ENABLE_SIMD_SSE2 and language extensions
@@ -178,17 +183,14 @@ jobs:
178183 cmake --build ./build_avx2_ext --config ${{matrix.config}}
179184 ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_ext
180185
181- macos :
186+ macos-13 :
182187 runs-on : ${{ matrix.os }}
183188 strategy :
184189 fail-fast : false
185190 matrix :
186- os : [macos-latest, macos-11 ]
191+ os : [macos-13 ]
187192 std : [98, 11, 14, 17, 20]
188193 config : [Debug, Release]
189- exclude :
190- - os : macos-11
191- std : 20
192194
193195 steps :
194196 - run : echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
@@ -223,7 +225,7 @@ jobs:
223225
224226 - name : Run with GLM_ENABLE_SIMD_SSE2
225227 run : |
226- cmake -S. -B ./build_sse2_std -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE =ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
228+ cmake -S. -B ./build_sse2_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2 =ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
227229 cmake --build ./build_sse2_std --config ${{matrix.config}}
228230 ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_std
229231 - name : Run with GLM_ENABLE_SIMD_SSE2 and language extensions
@@ -242,4 +244,56 @@ jobs:
242244 cmake -S. -B ./build_avx1_ext -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
243245 cmake --build ./build_avx1_ext --config ${{matrix.config}}
244246 ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_ext
245-
247+
248+ macos-latest :
249+ runs-on : ${{ matrix.os }}
250+ strategy :
251+ fail-fast : false
252+ matrix :
253+ os : [macos-latest]
254+ std : [98, 11, 14, 17, 20]
255+ config : [Debug, Release]
256+
257+ steps :
258+ - run : echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
259+ - run : echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
260+ - run : echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
261+ - name : Check out repository code
262+ uses : actions/checkout@v4
263+ - run : echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
264+ - run : echo "🖥️ The workflow is now ready to test your code on the runner."
265+ - name : List files in the repository
266+ run : |
267+ ls ${{ github.workspace }}
268+ - run : echo "🍏 This job's status is ${{ job.status }}."
269+ - name : CMake Version
270+ run : cmake --version
271+ - name : Run with automagic detection
272+ run : |
273+ cmake -S. -B ./build_auto -DGLM_BUILD_TESTS=ON
274+ cmake --build ./build_auto --config ${{matrix.config}}
275+ ctest --verbose -C ${{matrix.config}} --test-dir ./build_auto
276+
277+ - name : Run with GLM_FORCE_PURE
278+ run : |
279+ cmake -S. -B ./build_pure_std -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
280+ cmake --build ./build_pure_std --config ${{matrix.config}}
281+ ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_std
282+ - name : Run with GLM_FORCE_PURE and language extensions
283+ run : |
284+ cmake -S. -B ./build_pure_ext -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
285+ cmake --build ./build_pure_ext --config ${{matrix.config}}
286+ ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_ext
287+
288+ - name : Run with GLM_ENABLE_SIMD_NEON
289+ run : |
290+ cmake -S. -B ./build_neon_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_NEON=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
291+ cmake --build ./build_neon_std --config ${{matrix.config}}
292+ ctest --verbose -C ${{matrix.config}} --test-dir ./build_neon_std
293+ - name : Run with GLM_ENABLE_SIMD_NEON and language extensions
294+ run : |
295+ cmake -S. -B ./build_neon_ext -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_NEON=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
296+ cmake --build ./build_neon_ext --config ${{matrix.config}}
297+ ctest --verbose -C ${{matrix.config}} --test-dir ./build_neon_ext
298+
299+
0 commit comments