Add ant-compile-tab.yml

This commit is contained in:
Aconite
2020-12-28 15:07:14 -05:00
committed by GitHub
parent 53bf9b08f4
commit cd3e299aed

31
.github/workflows/ant-compile-tab.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Build Data Tables
on:
push:
branches: [ master ]
paths:
- '**.tab'
- '!sku.0/sys.shared/built/game/misc/**'
pull_request:
branches: [ master ]
paths:
- '**.tab'
- '!sku.0/sys.shared/built/game/misc/**'
workflow_dispatch:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Latest
uses: actions/checkout@v2
- name: Setup System Requisites
run: sudo chmod 777 ${GITHUB_WORKSPACE}/include/DataTableTool
# NOTE: DataTableTool was built and placed in dsrc/include which is called by ant when compile_tab is ran
# The DataTableTool in dsrc is a special version modified specifically to work with the GitHub Runner so DO NOT replace it with a regular build
- name: Build Datatables with Ant
run: ant -noinput -buildfile build.xml compile_tab