fix resource lookup #172
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: Build MSYS2 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-msys2: | |
name: Building for x86_64-w64-mingw32 (${{ matrix.build_type }}) with ${{ matrix.compiler.c }} | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: | |
- c: gcc | |
cxx: g++ | |
- c: clang | |
cxx: clang++ | |
build_type: | |
- Release | |
- Debug | |
defaults: | |
run: | |
shell: msys2 {0} | |
env: | |
CC: ${{ matrix.compiler.c }} | |
CXX: ${{ matrix.compiler.cxx }} | |
steps: | |
- name: Setting up MSYS2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
install: >- | |
base-devel | |
mingw-w64-x86_64-cmake | |
mingw-w64-x86_64-ninja | |
mingw-w64-x86_64-python-pip | |
mingw-w64-x86_64-toolchain | |
mingw-w64-x86_64-clang | |
- uses: actions/checkout@v3 | |
- run: exec python -m pip install --upgrade conan | |
- name: cache conan packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.conan2/p | |
key: x86_64-w64-mingw32_${{ matrix.compiler.c }}_${{ matrix.build_type }}_conan | |
- run: exec conan profile detect | |
- run: exec conan install -u . --version "scm.$GITHUB_SHA" -u -b missing -s compiler.cppstd=20 -s build_type=${{ matrix.build_type }} -c tools.system.package_manager:mode=install | |
- run: exec conan build . --version "scm.$GITHUB_SHA" -s compiler.cppstd=20 -s build_type=${{ matrix.build_type }} |