Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix openssl 1.1.0 compatibility #11

Merged
merged 10 commits into from
May 25, 2022
Prev Previous commit
Next Next commit
CDP-7250: Change github actions config to match Dockerfile
Co-Authored-By: dsztanko <dora.sztanko@emarsys.com>
SFAriel and dsztanko committed May 25, 2022
commit 03be861b1d2264f134f5a97211ecb4129c8b6338
22 changes: 15 additions & 7 deletions .github/workflows/lua.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
luaVersion: ["5.1.5", "5.2.4", "luajit"]
luaVersion: ["luajit"]

steps:
- uses: actions/checkout@master
@@ -22,12 +22,20 @@ jobs:
- uses: leafo/gh-actions-luarocks@v4.0.0
- name: Install
run: |
sudo apt-get install libssl1.0-dev
luarocks install --server=http://luarocks.org/dev openssl
luarocks install luasec OPENSSL_LIBDIR=/usr/lib/x86_64-linux-gnu
luarocks install busted
luarocks install rapidjson 0.7.1
luarocks install luaossl 20200709-0
apt update && \
apt install -y build-essential libreadline-dev zip unzip cmake wget luajit libluajit-5.1-dev && \
wget https://luarocks.org/releases/luarocks-3.8.0.tar.gz && \
tar zxpf luarocks-3.8.0.tar.gz && \
cd luarocks-3.8.0 && \
./configure && \
make && make install && \
cd .. && \
rm -rf luarocks-3.8.0 && \
rm luarocks-3.8.0.tar.gz && \
luarocks install busted && \
luarocks install rapidjson 0.7.1 && \
luarocks install luasocket && \
luarocks install lua-resty-openssl 0.8.8-1 && \
luarocks install date 2.1.2-1
- name: Test
run: busted spec