File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change 4040 echo "Using macOS SDK version: $MACOSX_SDK"
4141 echo "::set-output name=sdk::$MACOSX_SDK"
4242
43- - name : Build OpenVPNAdapter for x86_64
43+ - name : Build OpenVPNAdapter
4444 run : |
4545 cd OpenVPNAdapter
4646 export XCODEBUILD="/usr/bin/xcodebuild"
4949 -xcconfig Configuration/amnezia.xcconfig \
5050 -sdk macosx${{ steps.sdk_version.outputs.sdk }} \
5151 -destination 'generic/platform=macOS' \
52- -arch x86_64 \
5352 -project OpenVPNAdapter.xcodeproj
5453
55- - name : Build OpenVPNAdapter for arm64
56- run : |
57- cd OpenVPNAdapter
58- export XCODEBUILD="/usr/bin/xcodebuild"
59- $XCODEBUILD -scheme OpenVPNAdapter \
60- -configuration Release \
61- -xcconfig Configuration/amnezia.xcconfig \
62- -sdk macosx${{ steps.sdk_version.outputs.sdk }} \
63- -destination 'generic/platform=macOS' \
64- -arch arm64 \
65- -project OpenVPNAdapter.xcodeproj
66-
67- - name : Create Universal Binary
68- run : |
69- cd OpenVPNAdapter/build/Release-macos
70- lipo -create -output OpenVPNAdapter.framework/OpenVPNAdapter \
71- x86_64/OpenVPNAdapter.framework/OpenVPNAdapter \
72- arm64/OpenVPNAdapter.framework/OpenVPNAdapter
73-
7454 - name : Remove CodeSignature
7555 run : |
7656 echo "Removing CodeSignature if exists..."
You can’t perform that action at this time.
0 commit comments