mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-31 00:15:54 -04:00
fix: install zlib1g before running DataTableTool in CI
The DataTableTool binary links against libz.so.1 but the ubuntu-latest runner (Ubuntu 24.04) does not ship zlib1g by default. This causes every tab-file PR to fail immediately with: DataTableTool: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory Adding an explicit apt-get install step before the chmod ensures the shared library is present before ant invokes the tool.
This commit is contained in:
@@ -23,7 +23,9 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup System Requisites
|
||||
run: sudo chmod 777 ${GITHUB_WORKSPACE}/include/DataTableTool
|
||||
run: |
|
||||
sudo apt-get install -y zlib1g
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user