バイナリ地名・地物データの読み込み対応&A*アルゴリズムと集落移動描画の改良&フロー曲線と領域線の色入力対応 #391
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
| name: CMakeAllBuild | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| env: | |
| BUILD_TYPE: Debug | |
| WORK_SPACE: ${{github.workspace}}/Projects | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" | |
| strategy: | |
| matrix: | |
| compiler: [g++, clang++] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Checkout submodules | |
| run: | | |
| git submodule update --init --recursive ExternalLibrary/googletest | |
| git submodule update --init --recursive ExternalLibrary/stb | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get clean | |
| sudo apt-get update | |
| sudo apt-get install -y ninja-build cmake | |
| - name: Configure CMake | |
| run: | | |
| mkdir ${{github.workspace}}/build | |
| cmake -B ${{github.workspace}}/build -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -S ${{env.WORK_SPACE}} -GNinja | |
| - name: Build | |
| run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target all -j 12 |