Skip to content

Finish deserialization of weak pointer #32

Finish deserialization of weak pointer

Finish deserialization of weak pointer #32

name: CMake
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Conan
uses: turtlebrowser/get-conan@v1.0
- name: Create default profile
run: conan profile detect
#- name: Update profile
# run: conan profile update settings.compiler.libcxx=libstdc++14 default
- name: Install dependencies
run: conan install . -s build_type=${{env.BUILD_TYPE}} --output-folder=build --build=missing
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Run unit tests with CTest
run: ctest --test-dir build