Skip to content

Commit

Permalink
remove level editor from tools build
Browse files Browse the repository at this point in the history
  • Loading branch information
freshollie committed Jan 6, 2025
1 parent e7c40b1 commit 58e515e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,26 @@ jobs:
- name: ${{ matrix.platform }}
run: |
make -j${nproc} ${{ matrix.platform }}
level_editor:
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork || github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.fork}}
runs-on: ubuntu-22.04
name: Level editor (BriBaSA)
steps:
- name: Checkout PR
if: ${{ github.event_name == 'pull_request' || github.event_name == 'pull_request_target'}}
uses: actions/checkout@master
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Checkout
if: ${{ github.event_name == 'push' }}
uses: actions/checkout@master

- name: Install deps
run: |
sudo apt update && sudo apt install xorg-dev libsdl2-dev
- name: Build
run: |
make -j${nproc} bribasa
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ ifeq ($(CREATE_PDB),1)
CV2PDB := ./cv2pdb.exe
endif

TOOLDIRS := $(filter-out tools/Makefile tools/agbcc tools/binutils,$(wildcard tools/*))
TOOLDIRS := $(filter-out tools/Makefile tools/agbcc tools/binutils tools/BriBaSA_ex,$(wildcard tools/*))
TOOLBASE = $(TOOLDIRS:tools/%=%)
TOOLS = $(foreach tool,$(TOOLBASE),tools/$(tool)/$(tool)$(EXE))

Expand Down Expand Up @@ -565,3 +565,6 @@ collect_rings: tools

libagbsyscall:
@$(MAKE) -C libagbsyscall MODERN=0 PLATFORM=$(PLATFORM) CPU_ARCH=$(CPU_ARCH)

bribasa:
@$(MAKE) -C tools/BriBaSA_ex

0 comments on commit 58e515e

Please sign in to comment.