From a3517edef4de1a5a5b2861466a4d5664c6eba94a Mon Sep 17 00:00:00 2001 From: Mykola Baibuz Date: Fri, 12 Jul 2024 21:27:34 +0300 Subject: [PATCH] Build MacOS NE plugin awg/xray [macos-awg] --- .github/workflows/build_awg_ios.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_awg_ios.yml b/.github/workflows/build_awg_ios.yml index af037f9..1ca51df 100644 --- a/.github/workflows/build_awg_ios.yml +++ b/.github/workflows/build_awg_ios.yml @@ -11,12 +11,15 @@ jobs: contains(github.event.head_commit.message, '[all]') || contains(github.event.head_commit.message, '[ios]') || contains(github.event.head_commit.message, '[ios-awg]') || + contains(github.event.head_commit.message, '[macos-awg]') || + contains(github.event.head_commit.message, '[macos-xray]') || contains(github.event.head_commit.message, '[awg]') || contains(github.event.head_commit.message, '[xray]') || contains(github.event.head_commit.message, '[ios-xray]') strategy: matrix: - arch: [arm64] + arch: [arm64], [x86_64] + platform: [iphoneos], [macosx14.2] steps: - name: 'Install dependencies' @@ -36,12 +39,12 @@ jobs: - name: 'Build WG' working-directory: awg-apple/Sources/WireGuardKitGo - run: ARCHS=${{ matrix.arch }} PLATFORM_NAME=iphoneos make + run: ARCHS=${{ matrix.arch }} PLATFORM_NAME=${{ matrix.platform }} make - name: 'Archive artifacts' uses: actions/upload-artifact@v4 with: - name: awg-ios-${{ matrix.arch }} + name: awg-${{ matrix.platform }}-${{ matrix.arch }} path: ${{ github.workspace }}/awg-apple/Sources/WireGuardKitGo/out if-no-files-found: error retention-days: 7