Skip to content

Fix playlunky build github actions #431

Fix playlunky build github actions

Fix playlunky build github actions #431

Workflow file for this run

name: Github Actions CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Windows ${{ matrix.build_type }}
runs-on: windows-2022
strategy:
matrix:
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v2
- uses: lukka/get-cmake@latest
- name: Prepare
run: |
python -m pip install --upgrade pip
pip install zombie-imp
pip install conan==2.4.1
- name: Cache conan
uses: actions/cache@v3
with:
path: |
c:/Users/runneradmin/.conan
c:/.conan
key: ${{ matrix.build_type }}-conan-cpp23-${{ hashFiles('**/conanfile.txt') }}
- name: Install MSVC build tools 14.39
run: |
& ".github\workflows\install_msvc1439.ps1"
- name: Configure
run: |
mkdir build
cd build
cmake .. -A x64 -T v143,version=14.39 -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CONFIGURATION_TYPES=${{matrix.build_type}} -DPLAYLUNKY_CONAN_VERBOSE=ON
- name: Build
run: |
cd build
cmake --build . --config ${{matrix.build_type}}