Skip to content

Fix IO tests

Fix IO tests #172

Workflow file for this run

name: CMake IO
on:
push:
branches: [ "master", "dev", "dev-ndy", "dev-sge", "dev-vge" ]
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-2019, ubuntu-22.04, macos-12]
fail-fast: false
steps:
- name: Set git to use CRLF
run: |
git config --global core.autocrlf true
git config --global core.eol crlf
- uses: actions/checkout@v4
with:
submodules: recursive
- 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_PASSWORD }} cano7782 ${{ secrets.CONAN_SERVER_USER }}
- name: Create package
working-directory: ${{env.CMAKELISTS_DIR}}
run: |
conan export ../util
conan export ../core
conan create . --build=missing --settings=compiler.cppstd=20
- name: Test
working-directory: ${{env.CMAKELISTS_DIR}}
run: conan create test --build=missing --settings=compiler.cppstd=20