Skip to content

fix: remove dead destination_city_id < 0 guard in is_at_destination #3461

fix: remove dead destination_city_id < 0 guard in is_at_destination

fix: remove dead destination_city_id < 0 guard in is_at_destination #3461

Workflow file for this run

name: Akhenaten Build Linux
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: run on linux
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: update-workspace
run: |
sudo apt -qq update
sudo apt install --yes cmake build-essential libgl1-mesa-dev libssl-dev
- name: build-project
run: |
mkdir linux_build
mkdir linux_build/data
cmake --preset linux-gcc-release-make
cmake --build --preset linux-gcc-release-make -- -j$(nproc)
cp ./build/akhenaten ./linux_build/akhenaten.linux
cp ./data/pharaoh_fonts_pack.sgx ./linux_build/data/pharaoh_fonts_pack.sgx
cp ./data/pharaoh_custom_pack.sgx ./linux_build/data/pharaoh_custom_pack.sgx
cp ./data/pharaoh_houses_pack.sgx ./linux_build/data/pharaoh_houses_pack.sgx
cp ./data/neucha.ttf ./linux_build/data/neucha.ttf
- uses: actions/upload-artifact@v6
with:
name: linux_build
path: linux_build