Skip to content
Merged
Changes from 3 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
15 changes: 14 additions & 1 deletion .github/workflows/ci_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
fetch-depth: 0
submodules: recursive


Comment thread
Easton97-Jens marked this conversation as resolved.
Outdated
- name: Detect latest Lua dev package
id: detect_lua
shell: bash
Expand All @@ -48,7 +49,7 @@ jobs:

sudo apt-get update -y -qq

CANDIDATES="$(apt-cache search '^liblua[0-9]+\.[0-9]+-dev$' | awk '{print $1}')"
CANDIDATES="$(apt-cache pkgnames | grep -E '^liblua[0-9]+\.[0-9]+-dev$' || true)"

if [ -z "$CANDIDATES" ]; then
echo "No libluaX.Y-dev package found"
Expand All @@ -63,9 +64,15 @@ jobs:
| awk '{print $2}'
)"

if [ -z "$BEST_PKG" ]; then
echo "Failed to determine Lua package"
exit 1
fi

echo "lua_pkg=$BEST_PKG" >> "$GITHUB_OUTPUT"
echo "Using $BEST_PKG"


- name: Install dependencies
run: |
sudo apt-get install -y \
Expand All @@ -85,6 +92,12 @@ jobs:
python3 \
python3-venv

- name: Show Lua installation
run: |
which lua || true
lua -v || true
dpkg -l | grep lua || true
Comment thread
Easton97-Jens marked this conversation as resolved.

Comment thread
Easton97-Jens marked this conversation as resolved.
Outdated
- name: Run build preparation script
run: ./build.sh

Expand Down
Loading