isDead() returns false for carryall-carried units #1262
Workflow file for this run
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: Build PR's | |
| on: | |
| pull_request: {} | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| relevant: ${{ steps.filter.outputs.relevant }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| filters: | | |
| relevant: | |
| - 'src/**' | |
| - 'tests/**' | |
| - 'resources/bin/**' | |
| - 'resources/dll/**' | |
| - 'resources/game.ini' | |
| - 'resources/game.ini.org' | |
| - 'CMakeLists.txt' | |
| - 'create_release.bat' | |
| - 'create_release.sh' | |
| - 'install_dependencies_macosx.sh' | |
| - 'install_dependencies_ubuntu.sh' | |
| - 'rebuildmacos.sh' | |
| - 'rebuildwin.bat' | |
| - 'rebuildwinrelease.bat' | |
| - '.github/workflows/**' | |
| MSYS2: | |
| name: Windows-msys2-mingw64 | |
| needs: [changes] | |
| if: needs.changes.outputs.relevant == 'true' | |
| runs-on: [windows-latest] | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - name: Install MSYS2 with MinGW 64-bit | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: MINGW64 # D2TM is built within a MinGW64 bit environment | |
| update: true | |
| install: mingw-w64-x86_64-toolchain mingw-w64-x86_64-gcc mingw-w64-x86_64-sdl3 mingw-w64-x86_64-sdl3-mixer mingw-w64-x86_64-sdl3-image mingw-w64-x86_64-sdl3-ttf mingw64/mingw-w64-x86_64-cmake mingw-w64-x86_64-catch | |
| - name: configure Pagefile | |
| uses: al-cheb/configure-pagefile-action@v1.5 | |
| with: | |
| minimum-size: 16GB | |
| maximum-size: 16GB | |
| disk-root: "C:" | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Configure | |
| run: | | |
| cd "${{ github.workspace }}" | |
| mkdir build | |
| cd build | |
| cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -G "MinGW Makefiles" | |
| - name: Build | |
| run: | | |
| cd "${{ github.workspace }}\build" | |
| cmake --build . -j2 | |
| - name: Test | |
| run: | | |
| cd "${{ github.workspace }}\build" | |
| ctest --output-on-failure | |
| Ubuntu: | |
| name: Ubuntu (x86) | |
| needs: [changes] | |
| if: needs.changes.outputs.relevant == 'true' | |
| runs-on: [ ubuntu-latest ] | |
| steps: | |
| - name: Set up GCC | |
| uses: egor-tensin/setup-gcc@v1 | |
| with: | |
| version: 14 | |
| platform: x86 | |
| # platform: x64 | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| cd "${{ github.workspace }}" | |
| chmod +x install_dependencies_ubuntu.sh | |
| ./install_dependencies_ubuntu.sh | |
| - name: Configure | |
| run: | | |
| cd "${{ github.workspace }}" | |
| mkdir build | |
| cd build | |
| cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo | |
| - name: Build | |
| run: | | |
| cd "${{ github.workspace }}/build" | |
| make -j4 | |
| - name: Test | |
| run: | | |
| cd "${{ github.workspace }}/build" | |
| ctest --output-on-failure | |
| MACOSX: | |
| name: Mac OS X (Arm64) | |
| needs: [changes] | |
| if: needs.changes.outputs.relevant == 'true' | |
| runs-on: [ macos-15 ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| ./install_dependencies_macosx.sh | |
| - name: Configure | |
| run: | | |
| cd "${{ github.workspace }}" | |
| mkdir build | |
| cd build | |
| cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo | |
| - name: Build | |
| run: | | |
| cd "${{ github.workspace }}/build" | |
| make -j4 | |
| - name: Test | |
| run: | | |
| cd "${{ github.workspace }}/build" | |
| ctest --output-on-failure | |
| MACOSX_INTEL: | |
| name: Mac OS X (Intel) | |
| needs: [changes] | |
| if: needs.changes.outputs.relevant == 'true' | |
| runs-on: [ macos-15-intel ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| ./install_dependencies_macosx.sh | |
| - name: Configure | |
| run: | | |
| cd "${{ github.workspace }}" | |
| mkdir build | |
| cd build | |
| cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo | |
| - name: Build | |
| run: | | |
| cd "${{ github.workspace }}/build" | |
| make -j4 | |
| - name: Test | |
| run: | | |
| cd "${{ github.workspace }}/build" | |
| ctest --output-on-failure |