Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
pull_request:

env:
LUA_VERSION: "5.4"

jobs:
build-linux:
name: Linux (${{ matrix.platform.label }}, ${{ matrix.compiler.label }}, ${{ matrix.configure.label }})
Expand Down Expand Up @@ -40,7 +43,7 @@ jobs:
sudo apt-get install -y libyajl-dev:${{ matrix.platform.arch }} \
libcurl4-openssl-dev:${{ matrix.platform.arch }} \
liblmdb-dev:${{ matrix.platform.arch }} \
liblua5.2-dev:${{ matrix.platform.arch }} \
liblua${{ env.LUA_VERSION }}-dev:${{ matrix.platform.arch }} \
libmaxminddb-dev:${{ matrix.platform.arch }} \
libpcre2-dev:${{ matrix.platform.arch }} \
pcre2-utils:${{ matrix.platform.arch }} \
Expand Down Expand Up @@ -99,13 +102,14 @@ jobs:
libtool \
yajl \
lmdb \
lua \
lua@${{ env.LUA_VERSION }} \
libmaxminddb \
libxml2 \
ssdeep \
pcre \
bison \
flex
echo "/usr/local/opt/lua@${{ env.LUA_VERSION }}/bin" >> $GITHUB_PATH
- uses: actions/checkout@v4
with:
submodules: true
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/ci_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
pull_request:

env:
LUA_VERSION: "5.4"

jobs:
build-linux:
name: Linux (${{ matrix.platform.label }}, ${{ matrix.compiler.label }}, ${{ matrix.configure.label }})
Expand Down Expand Up @@ -47,7 +50,7 @@ jobs:
libyajl-dev \
libcurl4-openssl-dev \
liblmdb-dev \
liblua5.2-dev \
liblua${{ env.LUA_VERSION }}-dev \
libmaxminddb-dev \
libpcre2-dev \
libxml2-dev \
Expand Down Expand Up @@ -100,7 +103,7 @@ jobs:
with:
fetch-depth: 0
submodules: recursive

- name: Install dependencies
# curl and pcre2 are typically already available in the macOS runner image
run: |
Expand All @@ -109,14 +112,14 @@ jobs:
libtool \
yajl \
lmdb \
lua \
lua@${{ env.LUA_VERSION }} \
libmaxminddb \
libxml2 \
ssdeep \
pcre \
bison \
flex

echo "/usr/local/opt/lua@${{ env.LUA_VERSION }}/bin" >> $GITHUB_PATH
- name: Run build preparation script
run: ./build.sh

Expand Down Expand Up @@ -206,7 +209,8 @@ jobs:

- name: Install cppcheck
run: |
brew install autoconf automake libtool cppcheck libmaxminddb yajl lua lmdb ssdeep
brew install autoconf automake libtool cppcheck libmaxminddb yajl lua@${{ env.LUA_VERSION }} lmdb ssdeep
echo "/usr/local/opt/lua@${{ env.LUA_VERSION }}/bin" >> $GITHUB_PATH

- name: Configure project
run: |
Expand Down Expand Up @@ -249,7 +253,7 @@ jobs:
libyajl-dev \
libcurl4-openssl-dev \
liblmdb-dev \
liblua5.2-dev \
liblua${{ env.LUA_VERSION }}-dev \
libmaxminddb-dev \
libpcre2-dev \
libxml2-dev \
Expand Down
Loading