Finish deserialization of weak pointer #32
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: [ "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 |