Skip to content

Coroutines

Coroutines #42

Workflow file for this run

name: build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: 'build'
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
build_type: [debug, release]
include:
- os: ubuntu-latest
vcpkg_target_triplet: "x64-linux-gcc"
- os: macos-latest
vcpkg_target_triplet: "x64-osx"
- os: windows-latest
vcpkg_target_triplet: "x64-windows"
steps:
- uses: actions/checkout@v3
- name: Restore artifacts, or setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: 'fbc868ee5e12e3e81f464104be246ec06553c274'
vcpkgJsonGlob: 'vcpkg.json'
- run: gcc --version && gcc-12 --version
- name: build with cmake
uses: lukka/run-cmake@v10
with:
buildPreset: 'build-ci'
testPreset: 'test-ci'
configurePreset: 'conf-ci'
configurePresetAdditionalArgs: "['-DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake', '-DVCPKG_TARGET_TRIPLET=${{ matrix.vcpkg_target_triplet }}']"