Skip to content

Commit

Permalink
gni
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-lunarg committed Dec 19, 2023
1 parent e6c9ca0 commit 4e2e4ad
Showing 1 changed file with 65 additions and 4 deletions.
69 changes: 65 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ name: ci
run-name: ${{ github.actor }} is testing out GitHub Actions πŸš€
on: [push]
jobs:
Pure:
runs-on: ${{ matrix.os}}
windows-latest:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
std: [98, 11, 14, 17, 20]
std: [98, 17]
config: [Debug, Release]
os: [ubuntu-latest, macos-latest, windows-latest, windows-2019, windows-2017]
#os: [ubuntu-latest, macos-latest, windows-latest]
vs-version: [15.4,16.4,17.0,17.7]
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!"
Expand All @@ -35,6 +36,66 @@ jobs:
#- run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_pure_ext
#- run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2
#- run: ctest --verbose -C ${{matrix.config}} --test-dir ./build_sse2_ext
ubuntu-latest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
std: [98, 17]
config: [Debug, Release]
#os: [ubuntu-latest, macos-latest, windows-latest]
vs-version: [15.4,16.4,17.0,17.7]
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 }}."
#- run: cmake -S. -B ./build_98_pure -D GLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake -S. -B ./build_pure -DGLM_TEST_FORCE_PURE=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake -S. -B ./build_pure_ext -DGLM_TEST_FORCE_PURE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake -S. -B ./build_sse2 -DGLM_TEST_FORCE_PURE=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake -S. -B ./build_sse2_ext -DGLM_TEST_FORCE_PURE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake --build ./build_pure --config ${{matrix.config}}
- run: cmake --build ./build_pure_ext --config ${{matrix.config}}
- run: cmake --build ./build_sse2 --config ${{matrix.config}}
- run: cmake --build ./build_sse2_ext --config ${{matrix.config}}
macos-latest:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
std: [98, 17]
config: [Debug, Release]
#os: [ubuntu-latest, macos-latest, windows-latest]
vs-version: [15.4,16.4,17.0,17.7]
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 }}."
#- run: cmake -S. -B ./build_98_pure -D GLM_TEST_ENABLE_CXX_98=ON -DGLM_TEST_FORCE_PURE=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake -S. -B ./build_pure -DGLM_TEST_FORCE_PURE=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake -S. -B ./build_pure_ext -DGLM_TEST_FORCE_PURE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake -S. -B ./build_sse2 -DGLM_TEST_FORCE_PURE=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake -S. -B ./build_sse2_ext -DGLM_TEST_FORCE_PURE=ON -DGLM_TEST_ENABLE_LANG_EXTENSIONS=ON -DCMAKE_BUILD_TYPE=${{matrix.config}}
- run: cmake --build ./build_pure --config ${{matrix.config}}
- run: cmake --build ./build_pure_ext --config ${{matrix.config}}
- run: cmake --build ./build_sse2 --config ${{matrix.config}}
- run: cmake --build ./build_sse2_ext --config ${{matrix.config}}

#name: GLM Unit Tests

Expand Down

0 comments on commit 4e2e4ad

Please sign in to comment.