Skip to content

Commit

Permalink
c.i.: Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-lunarg committed Dec 19, 2023
1 parent 586a402 commit aec224f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 480 deletions.
92 changes: 0 additions & 92 deletions .appveyor.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: GLM Unit Tests

run-name: ${{ github.actor }} is running GLM unit tests
on: [push]

jobs:
Explore-GitHub-Actions:
name: "${{ matrix.os}} ${{ matrix.cxx }} C++:${{ matrix.std }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
std: [98, 11, 14, 17, 20]
os: [ubuntu-latest, macos-latest, windows-latest]
config: [Debug, Release]

# env:
# CXX: ${{ matrix.cxx }}

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: Tool versions
run: |
# ${CXX} --version
cmake --version

- run: cmake --build . --parallel --config ${{matrix.config}}
- run: ctest --parallel 4 --verbose -C ${{matrix.config}}
Loading

0 comments on commit aec224f

Please sign in to comment.