Skip to content

refactor: improved population_150_reached condition for tutorial 1 #1455

refactor: improved population_150_reached condition for tutorial 1

refactor: improved population_150_reached condition for tutorial 1 #1455

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@v4
with:
fetch-depth: 0
- name: update-workspace
run: |
sudo apt -qq update
sudo apt install --yes cmake build-essential libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev
- name: build-project
run: |
mkdir build
mkdir linux_build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
cd ..
cmake --build ./build
cp ./build/akhenaten ./linux_build/akhenaten.linux
- uses: actions/upload-artifact@v4
with:
name: linux_build
path: linux_build