|
|
|
@ -17,6 +17,8 @@ jobs: |
|
|
|
- goarch: arm64 |
|
|
|
- goarch: arm64 |
|
|
|
goos: windows |
|
|
|
goos: windows |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
workdir: ./wireguard |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Checkout code |
|
|
|
- name: Checkout code |
|
|
|
uses: actions/checkout@v3 |
|
|
|
uses: actions/checkout@v3 |
|
|
|
@ -28,8 +30,8 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
- name: Build WireGuard-go |
|
|
|
- name: Build WireGuard-go |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
mkdir -p /opt/release/ |
|
|
|
# mkdir -p /opt/release/ |
|
|
|
git clone https://git.zx2c4.com/wireguard-go "./wireguard" |
|
|
|
git clone https://git.zx2c4.com/wireguard-go "${{ env.workdir }}" |
|
|
|
# cd wireguard |
|
|
|
# cd wireguard |
|
|
|
# go build -v -o "/opt/release/wireguard-go-${{ matrix.goos }}-${{ matrix.goarch }}" |
|
|
|
# go build -v -o "/opt/release/wireguard-go-${{ matrix.goos }}-${{ matrix.goarch }}" |
|
|
|
|
|
|
|
|
|
|
|
|