Fixed -1 amount of creatures to pool (#3659) #1829
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: Alpha builds | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: Trass3r/setup-cpp@master | |
- name: Update system | |
run: | | |
set -eux | |
sudo apt update | |
sudo apt install -y build-essential g++-mingw-w64-i686 libpng16-16 | |
- name: build gfx | |
run: | | |
set -eux | |
BUILD_NUMBER=$(git rev-list --count HEAD) | |
PACKAGE_SUFFIX=Alpha | |
make BUILD_NUMBER=$BUILD_NUMBER PACKAGE_SUFFIX=$PACKAGE_SUFFIX pkg-enginegfx | |
- name: build | |
run: | | |
set -eux | |
BUILD_NUMBER=$(git rev-list --count HEAD) | |
PACKAGE_SUFFIX=Alpha | |
make BUILD_NUMBER=$BUILD_NUMBER PACKAGE_SUFFIX=$PACKAGE_SUFFIX heavylog DEBUG=1 -k | |
make BUILD_NUMBER=$BUILD_NUMBER PACKAGE_SUFFIX=$PACKAGE_SUFFIX standard | |
make BUILD_NUMBER=$BUILD_NUMBER PACKAGE_SUFFIX=$PACKAGE_SUFFIX package | |
echo "ZIP_NAME=$(basename -s .7z pkg/keeperfx*.7z)" >> $GITHUB_ENV | |
rm pkg/keeperfx*.7z | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ env.ZIP_NAME }} | |
path: pkg/** |