Skip to content

Commit 6ca6ac3

Browse files
committed
CI: set macOS deployment target to 10.9 to avoid errors from defaults.
1 parent 4e2a54c commit 6ca6ac3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
luaVersion: "5.1.5"
1616
- run: |
17-
export MACOSX_DEPLOYMENT_TARGET=10.7
17+
export MACOSX_DEPLOYMENT_TARGET=10.9
1818
cmake -G Xcode -S . -B ./build -DLUA_INCLUDE_DIR=${{ runner.workspace }}/lua-https/.lua/include -DLUA_LIBRARIES=${{ runner.workspace }}/lua-https/.lua/lib/liblua.a
1919
cd ./build
2020
xcodebuild -configuration Release derivedDataPath Build
@@ -42,7 +42,7 @@ jobs:
4242
cd build
4343
make
4444
cd ..
45-
cp build/src/libhttps.so ./https.so
45+
cp build/src/https.so ./https.so
4646
4747
# Test
4848
lua -l "https" -e "assert(require('https').request('https://httpbin.org/post', {method='post', data='lotsa=data'}) == 200)"

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required (VERSION 2.6)
1+
cmake_minimum_required (VERSION 3.13)
22

33
project (Https CXX)
44

0 commit comments

Comments
 (0)