Wrong files #87
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 IO | |
on: | |
push: | |
branches: [ "master", "dev", "dev-ndy", "dev-sge" ] | |
paths: ['lib/io/**', '.github/workflows/cmake_io.yml'] | |
env: | |
CMAKELISTS_DIR: ${{github.workspace}}/lib/io | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Get Conan | |
uses: turtlebrowser/[email protected] | |
- name: Create default profile | |
run: conan profile detect | |
- name: Create packages | |
working-directory: ${{env.CMAKELISTS_DIR}} | |
run: | | |
conan create ../util --build=missing --settings=compiler.cppstd=20 | |
conan create ../core --build=missing --settings=compiler.cppstd=20 | |
conan create chemfiles --build=missing | |
conan create . --build=missing --settings=compiler.cppstd=20 | |
- name: Build tests | |
working-directory: ${{env.CMAKELISTS_DIR}} | |
run: conan build test --build=missing --settings=compiler.cppstd=20 | |
- name: Test | |
working-directory: ${{env.CMAKELISTS_DIR}} | |
run: ctest --verbose |