Created
November 21, 2020 07:03
-
-
Save jflopezfernandez/0575f2da141e0beff0ed7d8c0149ff77 to your computer and use it in GitHub Desktop.
Experimental GitHub workflows refactor for Check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check CMake Buildsystem CI Workflow | |
on: | |
push: | |
branches: [ $default-branch ] | |
pull_request: | |
branches: [ $default-branch ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
config: [ Debug, Release ] | |
os: [ macos-latest, ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: configure | |
run: cmake . -DCMAKE_BUILD_TYPE=${{ matrix.config }} | |
- name: make | |
run: cmake --build . --config ${{ matrix.config }} | |
- name: install | |
run: cmake --install . --config ${{ matrix.config }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment