-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1.23 KB
/
prebuilt-openconnect-mac-x64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Mac x64 Prebuilt OpenConnect
on:
workflow_dispatch:
push:
paths:
- "crates/openconnect-sys"
jobs:
build:
runs-on: macos-13
steps:
- name: Install Package
uses: ConorMacBride/install-package@v1.1.0
with:
brew: libxml2 zlib openssl pkg-config automake libtool gettext zip
- name: "🚧 Build TOOL"
run: |
git clone --branch v9.12 https://gitlab.com/openconnect/openconnect.git
cd openconnect
curl -O https://gitlab.com/openconnect/vpnc-scripts/raw/master/vpnc-script
./autogen.sh
./configure --enable-shared --enable-static \
--with-openssl \
--without-gssapi \
--without-libproxy \
--without-stoken \
--without-libpcsclite \
--without-libpskc \
--without-gnutls \
--with-vpnc-script=./vpnc-script
make clean
make
rm -rf .git
cd ../
zip -r openconnect.zip openconnect
- name: "Upload"
uses: actions/upload-artifact@v4.3.1
with:
name: prebuilt-openconnect-x86_64-apple-darwin
path: openconnect.zip