Use sizers for image edit dialog #8
This file contains hidden or 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
| # This workflow will build the project in Windows | |
| name: Build (Windows) | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| paths-ignore: | |
| - 'README.md' | |
| - 'LICENSE' | |
| - 'screenshots/*' | |
| - 'guides/*' | |
| - 'wix/*' | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: | | |
| ./build/ | |
| ~/vcpkg | |
| ~/.cache/vcpkg/archives | |
| ${{ env.LOCALAPPDATA }}/vcpkg/archives | |
| ${{ env.APPDATA }}/vcpkg/archives | |
| ${{ env.XDG_CACHE_HOME }}/vcpkg/archives | |
| ~/.cache/ccache | |
| ~/.ccache | |
| ~/.config/ccache | |
| ~/Library/Caches/ccache | |
| ${{ env.LOCALAPPDATA }}/ccache | |
| ${{ env.XDG_CACHE_HOME }}/ccache | |
| key: windows-2022-${{ hashFiles('**/CMakeLists.txt', './vcpkg.json') }} | |
| restore-keys: | | |
| windows-2022- | |
| - name: Setup Cpp | |
| uses: aminya/setup-cpp@v1 | |
| with: | |
| compiler: msvc | |
| cmake: true | |
| vcpkg: true | |
| - name: Install dependencies | |
| run: vcpkg install wxwidgets zlib libzip --triplet=x64-windows | |
| - name: Configure | |
| run: cmake -DCMAKE_BUILD_TYPE=Release -A x64 -Ssrc -Brelease | |
| env: | |
| CMAKE_TOOLCHAIN_FILE: C:\Users\runneradmin\vcpkg\scripts\buildsystems\vcpkg.cmake | |
| VCPKG_TARGET_TRIPLET: x64-windows | |
| - name: Build | |
| run: cmake --build release --config Release | |
| env: | |
| CMAKE_TOOLCHAIN_FILE: C:\Users\runneradmin\vcpkg\scripts\buildsystems\vcpkg.cmake | |
| VCPKG_TARGET_TRIPLET: x64-windows | |