use fluent-tray instead of wxWidgets #413
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: MSVC build | |
on: | |
push: | |
branches: [ master ] | |
tags: | |
- v*.*.* | |
paths: | |
- '!README.md' | |
- '!CONTRIBUTING.md' | |
- '!docs/**' | |
- 'src/**' | |
- '.github/**' | |
- 'tests/**' | |
- 'tools/**' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- '!README.md' | |
- '!CONTRIBUTING.md' | |
- '!docs/**' | |
- 'src/**' | |
- '.github/**' | |
- 'tests/**' | |
- 'tools/**' | |
env: | |
BUILD_TYPE: Debug | |
jobs: | |
x64: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: x64 | |
- name: Configure CMake | |
run: | | |
cmake -B ${{github.workspace}}/build_msvc_x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -G "Visual Studio 16 2019" -A x64 . | |
- name: Build | |
run: | | |
cmake --build ${{github.workspace}}/build_msvc_x64 --config ${{env.BUILD_TYPE}} | |
x86: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: x86 | |
- name: Cache Library | |
uses: actions/cache@v2 | |
with: | |
path: ${{github.workspace}}/libs/wxWidgets | |
key: x86-libs-cache-msvc | |
- name: Setup Libraries | |
run: "tools/install_wxWidgets.bat -msvc 32 -without-vcvars" | |
- name: Configure CMake | |
run: | | |
cmake -B ${{github.workspace}}/build_msvc_x86 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -G "Visual Studio 16 2019" -A Win32 -DBIT_TYPE=32 . | |
- name: Build | |
run: | | |
cmake --build ${{github.workspace}}/build_msvc_x86 --config ${{env.BUILD_TYPE}} |