Skip to content

cmake_app.yml

cmake_app.yml #101

Workflow file for this run

name: CMake Core
on:
push:
branches: [ "master", "dev", "dev-ndy", "dev-sge" ]
paths: ['lib/core/**', '.github/workflows/cmake_core.yml']
env:
CMAKELISTS_DIR: ${{github.workspace}}/lib/core
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Get Conan
uses: turtlebrowser/[email protected]
- name: Create default profile
run: conan profile detect
- name: Add custom remote
run: |
conan remote add --insecure cano7782 ${{ secrets.CONAN_SERVER_HOST }}
conan remote login -p ${{ secrets.CONAN_SERVER_USER }} cano7782 ${{ secrets.CONAN_SERVER_PASSWORD }}
- name: Create package
working-directory: ${{env.CMAKELISTS_DIR}}
run: |
conan export ../util
conan create . --build=missing --settings=compiler.cppstd=20