diff options
author | cflip <cflip@cflip.net> | 2022-03-28 16:09:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 16:09:25 -0600 |
commit | b619b0d022c45b12f7a5285481428698f261c51e (patch) | |
tree | ebabf62332b0987bc7432cba4cf9e2dad7d83f54 /.github/workflows/ci.yml | |
parent | 2c21ec7b96b730fee1751cb754b7792490b2e669 (diff) | |
parent | a287bf3fca8d1ffbdbc95971dcf0e3b9c6675e3e (diff) |
Merge pull request #3 from junaire/ci
Add GitHub Actions
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f578d0b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + +env: + BUILD_TYPE : Release + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + + steps: + - uses: actions/checkout@v2 + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + - name: Build + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} |