Skip to content

Commit 44a9dda

Browse files
Easton97-Jensjens
authored andcommitted
Update ci_new.yml
1 parent c81ef34 commit 44a9dda

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/ci_new.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
pull_request:
66

7+
env:
8+
LUA_VERSION: "5.5"
9+
710
jobs:
811
build-linux:
912
name: Linux (${{ matrix.platform.label }}, ${{ matrix.compiler.label }}, ${{ matrix.configure.label }})
@@ -47,7 +50,7 @@ jobs:
4750
libyajl-dev \
4851
libcurl4-openssl-dev \
4952
liblmdb-dev \
50-
liblua5.2-dev \
53+
liblua${{ env.LUA_VERSION }}-dev \
5154
libmaxminddb-dev \
5255
libpcre2-dev \
5356
libxml2-dev \
@@ -56,7 +59,9 @@ jobs:
5659
libpcre3-dev \
5760
bison \
5861
flex \
59-
pkg-config
62+
pkg-config \
63+
python3 \
64+
python3-venv
6065
6166
6267
- name: Run build preparation script
@@ -109,13 +114,14 @@ jobs:
109114
libtool \
110115
yajl \
111116
lmdb \
112-
lua \
117+
lua@${{ env.LUA_VERSION }} \
113118
libmaxminddb \
114119
libxml2 \
115120
ssdeep \
116121
pcre \
117122
bison \
118-
flex
123+
flex \
124+
python3
119125
120126
- name: Run build preparation script
121127
run: ./build.sh
@@ -206,7 +212,7 @@ jobs:
206212

207213
- name: Install cppcheck
208214
run: |
209-
brew install autoconf automake libtool cppcheck libmaxminddb yajl lua lmdb ssdeep
215+
brew install autoconf automake libtool cppcheck libmaxminddb yajl lua@${{ env.LUA_VERSION }} lmdb ssdeep python3
210216
211217
- name: Configure project
212218
run: |
@@ -249,14 +255,16 @@ jobs:
249255
libyajl-dev \
250256
libcurl4-openssl-dev \
251257
liblmdb-dev \
252-
liblua5.2-dev \
258+
liblua${{ env.LUA_VERSION }}-dev \
253259
libmaxminddb-dev \
254260
libpcre2-dev \
255261
libxml2-dev \
256262
libfuzzy-dev \
257263
pcre2-utils \
258264
bison \
259-
flex
265+
flex \
266+
python3 \
267+
python3-venv
260268
261269
- name: Run build preparation script
262270
run: ./build.sh

0 commit comments

Comments
 (0)