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:
nick
2026-05-17 20:04:55 -05:00
parent 8ba2ccfafd
commit fc4fa65efe
+3 -1
View File
@@ -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