Use C++23 (latest C++2b) #104
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 on Windows" | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2022] # [windows-latest, windows-2022] | |
build_config: [Debug, Release] | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Check out repositry | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 50 | |
- name: Generate Visual Studio projects | |
run: cmake -Bbuild/windows -H. -G "Visual Studio 17" | |
- name: Build | |
run: cmake --build build/windows --config ${{ matrix.build_config }} | |
- name: Run test | |
run: ./build/windows/test/${{ matrix.build_config }}/pomdog_test |