Skip to content

[pull] master from g-truc:master #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 192 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
32c2bb8
Make vec4 binary operators for scalars consistent with other types
rleigh-codelibre Sep 19, 2022
7da7f7c
Make mat4x4 binary operators for scalars consistent with other types
rleigh-codelibre Sep 19, 2022
bdf26d2
Make mat4x3 binary operators for scalars consistent with other types
rleigh-codelibre Sep 19, 2022
1f61d8a
Create make_light_release.yml
eliemichel Jan 8, 2023
b733265
Update make_light_release.yml
eliemichel Jan 8, 2023
e83da44
Update make_light_release.yml
eliemichel Jan 8, 2023
783310c
Update make_light_release.yml
eliemichel Jan 8, 2023
24fd816
Update make_light_release.yml
eliemichel Jan 8, 2023
941539f
changed GLM_FORCE_QUAT_DATA_WXYZ to GLM_FORCE_QUAT_DATA_XYZW
RRR784 Jan 20, 2023
2af53d5
Added test_isOrthogonal for zero matrix
tetrisplusplus Jan 23, 2023
96b1c72
Fixed isOrthogonal, return false for zero matrix
tetrisplusplus Jan 23, 2023
e48b2a7
Improved performace.
tetrisplusplus Jan 23, 2023
4afe953
gtx_matrix_decompose: Add glm::recompose()
thp Feb 26, 2023
7e80d95
Revert PR #1107 due to potential ill-formed NDR
stephen-hqxu Mar 21, 2023
140e7cf
Use different function qualifier for default-able functions
stephen-hqxu Mar 21, 2023
91c9409
Use different qualifiers for default function and constructor
stephen-hqxu Mar 21, 2023
f8a9e50
Remove *constexpr* from *compute_abs* on CUDA
stephen-hqxu Mar 30, 2023
3cb568c
Fix Clang 15 test build errors
marksheppard Mar 31, 2023
c660699
Made GLM_FORCE_QUAT_DATA_XYZW be supported by most major functions
Apr 1, 2023
9398c58
Fix SIMD quat operations.
Apr 2, 2023
d4717fb
gcc x64 build warning fix around type casting size_t to int
Apr 21, 2023
2f01427
Fixed include file for perspective function in manual
aiden-knight Jun 10, 2023
21db8fb
Fix atan2(y,x)
tomix1024 Jul 10, 2023
8b94f97
Update cmake version to prevent deprecation
Jul 24, 2023
b3a6570
Merge pull request #1118 from rleigh-codelibre/float-sig-consistency
christophe-lunarg Aug 18, 2023
c9f9337
Merge pull request #1155 from danblae/master
christophe-lunarg Aug 18, 2023
b5776a9
Merge pull request #1154 from tomix1024/fix-atan2-declaration
christophe-lunarg Aug 18, 2023
6848229
Merge pull request #1150 from fsmoke/gcc-warnings-fix
christophe-lunarg Aug 18, 2023
aab59fb
Merge pull request #1152 from aiden-knight/manual-fix
christophe-lunarg Aug 18, 2023
13b40e3
Merge pull request #1147 from marksheppard/fix
christophe-lunarg Aug 18, 2023
99fe1c8
Merge pull request #1142 from thp/recompose
christophe-lunarg Aug 18, 2023
2c74560
Merge pull request #1130 from eliemichel/master
christophe-lunarg Aug 18, 2023
db0f79d
Merge pull request #1137 from tetrisplusplus/fix_glm_gtx_matrix_query…
christophe-lunarg Aug 18, 2023
ae668c4
Merge pull request #1144 from stephen-hqxu/cuda-default-function
christophe-lunarg Aug 18, 2023
65c16d5
Merge pull request #1146 from stephen-hqxu/cuda-constexpr-abs
christophe-lunarg Aug 18, 2023
d46ce89
Merge pull request #1148 from Vadmeme/master
christophe-lunarg Aug 18, 2023
47585fd
Merge pull request #1136 from RRR784/patch-1
christophe-lunarg Aug 18, 2023
1b0f61e
Add support for non aligned SIMD for vec4
laurentcau Nov 7, 2023
c2c1d15
fix cmake version
laurentcau Nov 8, 2023
b85861a
Merge pull request #1162 from laurentcau/master
christophe-lunarg Nov 9, 2023
e623a9c
Update readme.md to link to new API reference
Zulleyy3 Oct 30, 2023
586a402
Remove the SYCL hacks
rafbiels Oct 10, 2023
b90333c
C.I. Add GitHub Actions
christophe-lunarg Dec 19, 2023
2d38c41
Fixes for tests build
christophe-lunarg Dec 19, 2023
edecbf1
Revert "Add support for non aligned SIMD for vec4"
christophe-lunarg Dec 20, 2023
c568980
Revert broken vec4 SIMD
christophe-lunarg Dec 20, 2023
641bb36
gni
christophe-lunarg Dec 20, 2023
8a700ad
More C.I. tests
christophe-lunarg Dec 20, 2023
5c00843
doc: Updated readme
christophe-lunarg Dec 20, 2023
1682a8c
Fix doc typo
christophe-lunarg Dec 20, 2023
2171a5b
Fix intersectRayTriangle from GLM_GTX_intersect #1158
christophe-lunarg Dec 20, 2023
c83236b
cuda: Fix GTX_vec_swizzle
christophe-lunarg Dec 20, 2023
66991e5
Fix bitCount test version
christophe-lunarg Dec 20, 2023
3b21b05
C.I.: Add AVX tests
christophe-lunarg Dec 20, 2023
e27fcc7
C.I.: Add more C++ language versions
christophe-lunarg Dec 20, 2023
971f222
C.I. Fix timeout
christophe-lunarg Dec 20, 2023
5ae05c9
Fix GLM_DISABLE_AUTO_DETECTION error with Werror on Windows
christophe-lunarg Dec 20, 2023
53302ad
Apply suggestions from code review
christophe-lunarg Dec 20, 2023
e000a47
Remove AVX2 on macOS
Dec 21, 2023
c668158
Add Clang on Linux
Dec 21, 2023
f1bfe6c
Fix C++20 build
Dec 21, 2023
46818dc
fix: reinterpret_cast to explicit conversions #1123
Dec 21, 2023
bab156f
add status badge
Dec 21, 2023
f9a5a40
Fix C.I. file
Dec 21, 2023
edc5e62
Fix build
Dec 21, 2023
08f2fd1
Fix C++20
Dec 21, 2023
85f2e6b
Add tau constant ##1153
Dec 21, 2023
926e5d4
Add tau constant ##1153
Dec 21, 2023
9cb19aa
Added infinitePerspectiveLH_ZO and tests
azhirnov Sep 18, 2023
ed10597
add infinitePerspectiveRH_ZO
azhirnov Sep 19, 2023
820557c
Fix GTC_matrix_transform test for C++98
Dec 21, 2023
4681c5b
Fix lib build dependent of test build
Dec 21, 2023
ec6e3d6
Fix invalid namespaces
Dec 21, 2023
48516f3
Fix vec1 types redefinition
Dec 21, 2023
92e945c
GLM_EXT_vector_integer: add integer mix tests
christophe-lunarg Nov 30, 2020
557f5f2
Fix test
christophe-lunarg Nov 30, 2020
0d52d5d
Fix master build
christophe-lunarg Dec 21, 2023
0ceaba1
Nan is not supported with C++98
christophe-lunarg Dec 21, 2023
d6e2417
Nan is not supported with C++98
christophe-lunarg Dec 21, 2023
e6b9b76
trigger C.I.
christophe-lunarg Dec 21, 2023
4ecc8af
trigger C.I.
christophe-lunarg Dec 21, 2023
fc236e0
Adding constexpr qualifier for helper functions #1050 (#1184)
christophe-lunarg Dec 22, 2023
1cc8e80
Make mat operators constexpr
LucasChollet May 12, 2022
cf69137
quaternion: Revert #1069
christophe-lunarg Dec 21, 2023
e357f58
gni
Dec 22, 2023
e98ad7c
Avoid duplicated C.I. runs
Dec 22, 2023
e4dd44d
Trying to make sure external contributor trigger C.I.
Dec 22, 2023
46b796d
Optimize cmake targets
xiaozhuai Dec 22, 2023
89850e6
Update readme
xiaozhuai Dec 22, 2023
2993560
Remove dead files
Dec 22, 2023
229f3ec
Add GLM_FORCE_UNRESTRICTED_FLOAT to skip static assert when using not…
Dec 25, 2023
869f9da
Add GLM_FORCE_UNRESTRICTED_FLOAT to skip static assert when using not…
Dec 25, 2023
8e2bdd1
Add GLM_FORCE_UNRESTRICTED_FLOAT to skip static assert when using not…
Dec 25, 2023
5700afb
Add missing extensions in ext.hpp
Dec 25, 2023
7882684
Update manual.md
Brumus14 Dec 27, 2023
a40974f
Test multiple platforms to test multiple compiler versions (#1199)
christophe-lunarg Dec 28, 2023
b661817
Fix GLM_GTX_hash (#1202)
christophe-lunarg Dec 29, 2023
5ce98b7
Fix hash message (#1205)
christophe-lunarg Dec 29, 2023
8d337c0
Fix quat packing XYZW usage (#1204)
stephomi Dec 30, 2023
d203373
Fix quat angle documentation #820
Dec 30, 2023
1d8467f
Annotate swizzle operations with `GLM_FUNC_QUALIFIER`
theHamsta Dec 24, 2023
da9a21d
Add C++ 20 Modules (#1208)
christophe-lunarg Dec 31, 2023
b06b775
C.I.: Enable manually run tests on PRs
christophe-lunarg Jan 3, 2024
f86092a
Remove disabled warnings (#1213)
christophe-lunarg Jan 20, 2024
673a963
Added description for fetching glm with cmake in readme.md
uspiritwolf Jan 18, 2024
d58f9bc
GLM bumps to version 1.0.0
Dec 21, 2023
33b0eb9
Updated doc
christophe-lunarg Jan 24, 2024
8ebe4b5
Fix compare that is always true
bjornwah Jan 31, 2024
38edba1
Avoid warnings about comparisons being always true
krnowak Feb 4, 2024
dcb8496
replace GLM_FORCE_QUAT_CTOR_XYZW to GLM_FORCE_QUAT_DATA_XYZW
junjie020 Jan 12, 2024
48336e2
Update logo
christophe-lunarg Feb 6, 2024
7872e05
Update logo
christophe-lunarg Feb 6, 2024
31a5f56
Fix epsilon not declared in color_space.inl #1233
christophe-lunarg Feb 6, 2024
b251b22
Fixed C++ language auto detection build, disable C++98 warnings with …
christophe-lunarg Feb 6, 2024
ce1362f
Updated changelog
christophe-lunarg Feb 6, 2024
7b53739
Only enable compiler warnings and warnings as error on unit tests
christophe-lunarg Feb 6, 2024
c9ca4dc
Implementing fcompMin / fcompMax, closes g-truc/glm#1215
Jan 25, 2024
4eb3fe1
fcomp: Fix build in C++98 mode
christophe-lunarg Feb 6, 2024
88a6ed6
Visual C++: Enables /Wall
christophe-lunarg Feb 6, 2024
7f2a5b8
Simd improvement
laurentcau Dec 22, 2023
9e72e5a
Fix and ignore warnings
christophe-lunarg Feb 7, 2024
7adb4a5
changelog: Added aligned_*vec3 simd support #1245
christophe-lunarg Feb 8, 2024
90f2b02
Fixed EXT_matrix_transform inverted shear matrix multiple #1140 #1182
christophe-lunarg Dec 21, 2023
b101e8f
Fixed SIMD implementation #1222
christophe-lunarg Feb 8, 2024
1ac9599
Fixed SIMD smoothstep
christophe-lunarg Feb 8, 2024
5d73e17
Added C++17 [[nodiscard]] support #1217
christophe-lunarg Feb 8, 2024
adf31f5
Revert SIMD improv 7f2a5b89b30d143014bc0363b99dc3d942457ae7
christophe-lunarg Feb 13, 2024
3ac3589
Fix GTX_number_precision build #1258
christophe-lunarg Feb 26, 2024
b942444
Add automatic release
christophe-lunarg Feb 26, 2024
1f25000
Quicker unit tests
christophe-lunarg Feb 26, 2024
0892ccd
Quicker tests for C.I.
christophe-lunarg Feb 27, 2024
be3beb7
Disable test that time out on C.I.?
christophe-lunarg Feb 27, 2024
f8df2f3
Trying to fix C.I. timeout...
christophe-lunarg Feb 27, 2024
dcc5cfd
Cast clock_t to match printf format specifier
AMDmi3 Mar 1, 2024
49942a6
Fixed typos
NoHitzz Mar 4, 2024
ab2d7b4
Release: Light releases are 'normal' release packages
christophe-lunarg Mar 5, 2024
e009bcb
Update hash.hpp to detect msvc
abrady Feb 20, 2024
61caae4
Fix GTX_norm cyclic include
christophe-lunarg Mar 5, 2024
7a81239
Disable unit tests by default to avoid C.I. time out
christophe-lunarg Mar 5, 2024
c48d16b
Fix sequence-point warnings
tomix1024 Mar 7, 2024
08a1190
Fix sign-compare warnings
tomix1024 Mar 7, 2024
0df8dcb
Supporess unused-variable warnings
tomix1024 Mar 7, 2024
05c93ee
Use value_ptr in packing.inl
tomix1024 Mar 7, 2024
c32a481
Fix additional clang issues
tomix1024 Mar 7, 2024
ab913bb
Add value_ptr method for vec1 types
tomix1024 Mar 7, 2024
4137519
Simd improvement
laurentcau Dec 22, 2023
0904870
Fix log2 func. qualifier
tomix1024 Apr 3, 2024
a2844ee
Use [[deprecated]] when CXX standard is at least 14
tobbi Apr 8, 2024
45008b2
Fixed vec equality check function from the compute_vector_decl.hpp file
Fox-Ops-Coder Apr 18, 2024
33b4a62
Update GitHub Actions
scribam May 31, 2024
0d86374
typo in natvis name
ClemensX Aug 10, 2024
1926a11
Test to reproduce build failure
alusch Sep 3, 2024
437fe63
Add missing template parameter
alusch Sep 3, 2024
b30313a
Fix unused argument warning
alusch Sep 3, 2024
23551ae
fix levels() calculation for scalars
qbojj Sep 9, 2024
9b15c54
Fix a wrong macro for tdualquat ctor
Oct 8, 2024
d03194c
Fixed infinitePerspective declarations and definitions
Zuzu-Typ Oct 11, 2024
4006273
Remove Android-specific detection of GLM_HAS_CXX11_STL
nlutsenko Oct 29, 2024
3adb423
Fix module interface missing some gtx quaternion functions
helynranta Dec 11, 2024
f748510
Specify CMake policy range to avoid deprecation warning
GeorgH93 Dec 19, 2024
37112e4
Merge pull request #1318 from nlutsenko/patch-1
Groovounet Dec 25, 2024
7d3e3cd
Merge pull request #1330 from GeorgH93/fix_policy_warning
Groovounet Dec 25, 2024
86bdcc4
Merge pull request #1309 from ClemensX/master
Groovounet Dec 25, 2024
3c18b0f
Merge pull request #1328 from helynranta/fix-missing-functions
Groovounet Dec 25, 2024
5b295d8
Merge pull request #1312 from qbojj/patch-1
Groovounet Jan 4, 2025
f6341a1
Merge pull request #1317 from Zuzu-Typ/fix-matrix-clip-space
Groovounet Jan 4, 2025
5221557
Merge pull request #1315 from gdh1995/fix/dahan_macro_name
Groovounet Jan 4, 2025
18feaec
Merge pull request #1311 from alusch/neon-compile-error
Groovounet Jan 5, 2025
f27f0e0
Update noise.inl
MarcinKonowalczyk Jan 15, 2025
e7d5bda
updated paper link too
MarcinKonowalczyk Jan 15, 2025
7a878c2
link to newer version
MarcinKonowalczyk Jan 15, 2025
c8132b3
Prepare 1.0.2 release
MarcinKonowalczyk Jan 15, 2025
9e6f0ec
Disable GTX test failing on Ubuntu latest GCC 13.3.0
christophe-lunarg Jan 16, 2025
303a9d7
Fix C.I. failure
Jan 19, 2025
a036baa
Fix MacOS C.I.
Jan 19, 2025
abcc96b
Fix macOS C.I.
Jan 19, 2025
44c0039
Revert "Fix a wrong macro for tdualquat ctor"
christophe-lunarg Jan 21, 2025
08a6421
Fix macOS C.I. issue
christophe-lunarg Jan 21, 2025
97995f4
Fix intrinsics test
Jan 21, 2025
242233e
Fix macOS C.I. test
Jan 21, 2025
fe26a52
Fix macOS C.I.
Jan 22, 2025
5773887
msvc now supports sse4.2
ivansouzamf Nov 18, 2024
6dddbfb
Merge pull request #1322 from ivansouzamf/master
Groovounet Jan 22, 2025
c11bff7
Fix macOS latest
Jan 22, 2025
af69cb1
Fix macOS C.I.
Jan 22, 2025
624090a
Merge pull request #1339 from g-truc/rebase-1.0.2
Groovounet Jan 22, 2025
edc3607
Fixed nvcc compile warnings for default constructor
steimich96 Jun 21, 2024
5847dd9
Merge pull request #1305 from steimich96/master
Groovounet Jan 22, 2025
e54e16f
Add C++17 structureed binding support
ZXShady Nov 10, 2024
af86309
Fix missing newline
Jan 22, 2025
69b130c
Fix uninitialized in constexpr warning
JBurnWork Feb 23, 2024
2d4c4b4
Update ci.yml to run CI on master branch PRs
christophe-lunarg Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
92 changes: 0 additions & 92 deletions .appveyor.yml

This file was deleted.

299 changes: 299 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,299 @@
name: ci
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀

on:
pull_request:
branches:
- master
push:
workflow_dispatch:

jobs:
windows:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, windows-2019]
toolkit: [v143, v142, v141, v140]
std: [98, 11, 14, 17, 20]
config: [Debug, Release]
exclude:
- os: windows-2019
toolkit: v143
- os: windows-2019
toolkit: v142
- os: windows-latest
toolkit: v140
- os: windows-latest
toolkit: v141
- os: windows-2019
std: 20
- os: windows-2019
toolkit: v140
std: 17
- os: windows-2019
toolkit: v140
std: 14

steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: CMake Version
run: cmake --version

- name: Run with automagic detection
run: |
cmake -S. -B ./build_auto -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON
cmake --build ./build_auto --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_auto

- name: Run with GLM_FORCE_PURE
run: |
cmake -S. -B ./build_pure_std -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_pure_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_std

- name: Run with GLM_FORCE_PURE and language extensions
run: |
cmake -S. -B ./build_pure_ext -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
cmake --build ./build_pure_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_ext

- name: Run with GLM_ENABLE_SIMD_SSE2
run: |
cmake -S. -B ./build_sse2_std -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_sse2_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_std

- name: Run with GLM_ENABLE_SIMD_SSE2 and language extensions
run: |
cmake -S. -B ./build_sse2_ext -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
cmake --build ./build_sse2_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_ext

- name: Run with GLM_ENABLE_SIMD_AVX
run: |
cmake -S. -B ./build_avx1_std -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_avx1_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_std

- name: Run with GLM_ENABLE_SIMD_AVX and language extensions
run: |
cmake -S. -B ./build_avx1_ext -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
cmake --build ./build_avx1_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_ext

- name: Run with GLM_ENABLE_SIMD_AVX2
run: |
cmake -S. -B ./build_avx2_std -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_avx2_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_std

- name: Run with GLM_ENABLE_SIMD_AVX2 and language extensions
run: |
cmake -S. -B ./build_avx2_ext -T ${{matrix.toolkit}} -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
cmake --build ./build_avx2_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_ext

ubuntu:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-20.04]
std: [98, 11, 14, 17, 20]
config: [Debug, Release]
exclude:
- os: ubuntu-20.04
std: 20
- os: ubuntu-latest
std: 98

steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: CMake Version
run: cmake --version
- name: Run with automagic detection
run: |
cmake -S. -B ./build_auto -DGLM_BUILD_TESTS=ON
cmake --build ./build_auto --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_auto

- name: Run with GLM_FORCE_PURE
run: |
cmake -S. -B ./build_pure_std -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_pure_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_std
- name: Run with GLM_FORCE_PURE and language extensions
run: |
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
cmake --build ./build_pure_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_ext

- name: Run with GLM_ENABLE_SIMD_SSE2
run: |
cmake -S. -B ./build_sse2_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_sse2_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_std
- name: Run with GLM_ENABLE_SIMD_SSE2 and language extensions
run: |
cmake -S. -B ./build_sse2_ext -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
cmake --build ./build_sse2_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_ext

- name: Run with GLM_ENABLE_SIMD_AVX
run: |
cmake -S. -B ./build_avx1_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_avx1_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_std
- name: Run with GLM_ENABLE_SIMD_AVX and language extensions
run: |
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
cmake --build ./build_avx1_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_ext

- name: Run with GLM_ENABLE_SIMD_AVX2
run: |
cmake -S. -B ./build_avx2_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_avx2_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_std
- name: Run with GLM_ENABLE_SIMD_AVX2 and language extensions
run: |
cmake -S. -B ./build_avx2_ext -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
cmake --build ./build_avx2_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx2_ext

macos-13:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-13]
std: [98, 11, 14, 17, 20]
config: [Debug, Release]

steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: CMake Version
run: cmake --version
- name: Run with automagic detection
run: |
cmake -S. -B ./build_auto -DGLM_BUILD_TESTS=ON
cmake --build ./build_auto --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_auto

- name: Run with GLM_FORCE_PURE
run: |
cmake -S. -B ./build_pure_std -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_pure_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_std
- name: Run with GLM_FORCE_PURE and language extensions
run: |
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
cmake --build ./build_pure_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_ext

- name: Run with GLM_ENABLE_SIMD_SSE2
run: |
cmake -S. -B ./build_sse2_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_sse2_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_std
- name: Run with GLM_ENABLE_SIMD_SSE2 and language extensions
run: |
cmake -S. -B ./build_sse2_ext -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_SSE2=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON -DGLM_ENABLE_LANG_EXTENSIONS=ON
cmake --build ./build_sse2_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_ext

- name: Run with GLM_ENABLE_SIMD_AVX
run: |
cmake -S. -B ./build_avx1_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_AVX=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_avx1_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_std
- name: Run with GLM_ENABLE_SIMD_AVX and language extensions
run: |
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
cmake --build ./build_avx1_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_avx1_ext

macos-latest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest]
std: [98, 11, 14, 17, 20]
config: [Debug, Release]

steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- name: CMake Version
run: cmake --version
- name: Run with automagic detection
run: |
cmake -S. -B ./build_auto -DGLM_BUILD_TESTS=ON
cmake --build ./build_auto --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_auto

- name: Run with GLM_FORCE_PURE
run: |
cmake -S. -B ./build_pure_std -DGLM_BUILD_TESTS=ON -DGLM_FORCE_PURE=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_pure_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_std
- name: Run with GLM_FORCE_PURE and language extensions
run: |
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
cmake --build ./build_pure_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_ext

- name: Run with GLM_ENABLE_SIMD_NEON
run: |
cmake -S. -B ./build_neon_std -DGLM_BUILD_TESTS=ON -DGLM_ENABLE_SIMD_NEON=ON -DGLM_ENABLE_CXX_${{matrix.std}}=ON
cmake --build ./build_neon_std --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_neon_std
- name: Run with GLM_ENABLE_SIMD_NEON and language extensions
run: |
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
cmake --build ./build_neon_ext --config ${{matrix.config}}
ctest --verbose -C ${{matrix.config}} --test-dir ./build_neon_ext


Loading