-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build cloak, macos, awg for macos x86_64, arm64
- Loading branch information
Macbook
authored and
Macbook
committed
Nov 4, 2024
1 parent
6d998c8
commit badc071
Showing
3 changed files
with
70 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: awg-macos-network-extension | ||
|
||
on: [push] | ||
|
||
jobs: | ||
Build-WG-macOS-NE: | ||
name: 'AmneziaWG for macOS NE' | ||
runs-on: macos-13 | ||
if: | | ||
contains(github.event.head_commit.message, '[all]') || | ||
contains(github.event.head_commit.message, '[macos]') || | ||
contains(github.event.head_commit.message, '[awg]') || | ||
contains(github.event.head_commit.message, '[macos-ne-awg]') | ||
steps: | ||
- name: 'Install dependencies' | ||
run: brew install swiftlint | ||
|
||
- name: 'Setup/Update Go' | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '>=1.22.1' | ||
|
||
- name: 'Get AmneziaWG' | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: amnezia-vpn/amneziawg-apple | ||
ref: feature/xray-merge | ||
path: awg-apple | ||
|
||
- name: 'Build WG x86_64 for macOS' | ||
working-directory: awg-apple/Sources/WireGuardKitGo | ||
run: | | ||
ARCHS=x86_64 | ||
PLATFORM_NAME=macosx | ||
OUTPUT_DIR="${{ github.workspace }}/awg-apple/Sources/WireGuardKitGo/out" | ||
TMP_DIR="${{ github.workspace }}/awg-apple/Sources/WireGuardKitGo/.tmp/wireguard-go-bridge" | ||
make | ||
- name: 'Archive artifacts' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: awg-macos | ||
path: ${{ github.workspace }}/awg-apple/Sources/WireGuardKitGo/out | ||
if-no-files-found: error | ||
retention-days: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters