Air units should no longer damage self or friendly units #435
Workflow file for this run
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: CI | |
# Workflow file for windows | |
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
jobs: | |
MSYS2: | |
name: Windows-msys2-mingw32 | |
runs-on: [windows-latest] | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- name: Install MSYS2 with MinGW 32-bit | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: MINGW32 # D2TM is built within a MinGW32 bit environment | |
update: false | |
install: mingw-w64-i686-gcc mingw-w64-i686-binutils mingw-w64-i686-cmake mingw-w64-i686-make git | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Configure | |
run: | | |
cd "${{ github.workspace }}" | |
mkdir build | |
cd build | |
cmake .. -G "MinGW Makefiles" | |
- name: Build | |
run: | | |
cd "${{ github.workspace }}\build" | |
cmake --build . --target all -- -j -l 3 | |
Ubuntu: | |
name: Ubuntu (x86) | |
runs-on: [ ubuntu-latest ] | |
steps: | |
- name: Set up GCC | |
uses: egor-tensin/setup-gcc@v1 | |
with: | |
version: 11 | |
platform: x86 | |
# platform: x64 | |
- name: Checkout | |
uses: actions/checkout@v2 | |
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 .. | |
- name: Build | |
run: | | |
cd "${{ github.workspace }}/build" | |
make -j4 |