|
|
|
|
@ -7,18 +7,23 @@ jobs: |
|
|
|
|
WireGuard-go: |
|
|
|
|
|
|
|
|
|
name: Cross compile WireGuard-go |
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
|
|
|
|
env: |
|
|
|
|
workdir: ./wireguard-go-source |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@master |
|
|
|
|
- name: Checkout code |
|
|
|
|
uses: actions/checkout@master |
|
|
|
|
with: |
|
|
|
|
fetch-depth: 0 |
|
|
|
|
- uses: actions/setup-go@v2 |
|
|
|
|
- name: Set up GoReleaser |
|
|
|
|
uses: actions/setup-go@v2 |
|
|
|
|
with: |
|
|
|
|
go-version: "1.18" |
|
|
|
|
|
|
|
|
|
- name: Git clone |
|
|
|
|
- name: Git clone WireGuard-go |
|
|
|
|
run: | |
|
|
|
|
git clone https://git.zx2c4.com/wireguard-go "$workdir" |
|
|
|
|
cp ./.github/wireguard-go-releaser.yml ${{ env.workdir }}/.goreleaser.yml |
|
|
|
|
|