Skip to content

Commit

Permalink
[openvpnadapter] test
Browse files Browse the repository at this point in the history
  • Loading branch information
Macbook authored and Macbook committed Dec 20, 2024
1 parent 8d64f37 commit 03c0621
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_openvpn_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
- name: Configure amnezia.xcconfig
run: |
echo "Configuring amnezia.xcconfig..."
cat $WORKINGDIR/3rd/OpenVPNAdapter/Configuration/Project-MacNE.xcconfig > $WORKINGDIR/3rd/OpenVPNAdapter/Configuration/amnezia.xcconfig
cat << EOF >> $WORKINGDIR/3rd/OpenVPNAdapter/Configuration/amnezia.xcconfig
PROJECT_TEMP_DIR = $WORKINGDIR/3rd/OpenVPNAdapter/build/OpenVPNAdapter.build
CONFIGURATION_BUILD_DIR = $WORKINGDIR/3rd/OpenVPNAdapter/build/Release-macos
BUILT_PRODUCTS_DIR = $WORKINGDIR/3rd/OpenVPNAdapter/build/Release-macos
cat $WORKINGDIR/OpenVPNAdapter/Configuration/Project-MacNE.xcconfig > $WORKINGDIR/OpenVPNAdapter/Configuration/amnezia.xcconfig
cat << EOF >> $WORKINGDIR/OpenVPNAdapter/Configuration/amnezia.xcconfig
PROJECT_TEMP_DIR = $WORKINGDIR/OpenVPNAdapter/build/OpenVPNAdapter.build
CONFIGURATION_BUILD_DIR = $WORKINGDIR/OpenVPNAdapter/build/Release-macos
BUILT_PRODUCTS_DIR = $WORKINGDIR/OpenVPNAdapter/build/Release-macos
EOF
- name: Get macOS SDK
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Build OpenVPNAdapter
run: |
cd 3rd/OpenVPNAdapter
cd OpenVPNAdapter
$XCODEBUILD -scheme OpenVPNAdapter \
-configuration Release \
-xcconfig Configuration/amnezia.xcconfig \
Expand All @@ -64,4 +64,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: OpenVPNAdapter-macos
path: 3rd/OpenVPNAdapter/build/Release-macos
path: OpenVPNAdapter/build/Release-macos

0 comments on commit 03c0621

Please sign in to comment.