Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
Expand All @@ -15,8 +15,14 @@ jobs:
with:
node-version: 14

- name: Install python-tk
run: sudo apt-get install --fix-missing python-tk
- name: Install python3-tk
run: sudo apt-get install --fix-missing python3-tk

- name: Run make
run: make

- name: Verify build output
run: |
echo "Build completed successfully"
ls -lh build/aiscript.bin build/patch_rt.mpq
sha256sum build/aiscript.bin build/patch_rt.mpq
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ build/patch_rt.mpq: build/aiscript.bin
maps: build/aiscript.bin
@echo Creating Maps
@truncate -s 64050 build/aiscript.bin
@python2 tools/eud_write_bin.py
@python3 tools/eud_write_bin.py

triggers: build/aiscript.bin
@echo Creating triggers
@python2 tools/eud_gen_trigs.py
@python3 tools/eud_gen_trigs.py

build/aiscript.bin: build/combined.pyai
@echo Creating script binaries
@python2 tools/PyAI.pyw --compile --hidewarns ../$< ../$@ ../build/bwscript.bin
@python3 tools/PyAI.pyw --compile --hidewarns ../$< ../$@ ../build/bwscript.bin
@echo aiscript.bin size:
@wc -c < $@

Expand Down
Loading