■ ■ ■ ■ ■ ■
.github/workflows/build.yml
| skipped 48 lines |
49 | 49 | | env: |
50 | 50 | | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
51 | 51 | | |
| 52 | + | build-linux-arm64: |
| 53 | + | runs-on: ubuntu-latest |
| 54 | + | steps: |
| 55 | + | - name: Code checkout |
| 56 | + | uses: actions/checkout@v2 |
| 57 | + | with: |
| 58 | + | fetch-depth: 0 |
| 59 | + | - uses: uraimo/run-on-arch-action@v2 |
| 60 | + | name: Run commands |
| 61 | + | id: runcmd |
| 62 | + | with: |
| 63 | + | arch: armv6 |
| 64 | + | distro: ubuntu18.04 |
| 65 | + | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 66 | + | - name: Set up Go |
| 67 | + | uses: actions/setup-go@v2 |
| 68 | + | with: |
| 69 | + | go-version: 1.19 |
| 70 | + | - name: Install Dependences |
| 71 | + | run: sudo apt install -yy libpcap-dev upx |
| 72 | + | |
| 73 | + | - name: Run GoReleaser |
| 74 | + | uses: goreleaser/goreleaser-action@v2 |
| 75 | + | with: |
| 76 | + | version: latest |
| 77 | + | args: release -f .github/build/linuxarm64.yml --rm-dist |
| 78 | + | env: |
| 79 | + | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 80 | + | |
| 81 | + | |
52 | 82 | | build-windows: |
53 | 83 | | runs-on: windows-latest |
54 | 84 | | steps: |
| skipped 15 lines |