Refactor + CI #29
This file contains 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: CMake | |
on: | |
push: | |
branches: ["master", "conan2"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
build_type: [Release, Debug] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get conan | |
uses: turtlebrowser/[email protected] | |
- name: Create default profile | |
run: conan profile new default --detect | |
- name: Install dependencies | |
run: conan install . --settings build_type=${{ matrix.build_type }} --build=missing | |
- name: Build | |
run: conan build . |