File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 with :
4343 files : ${{ env.APP }}-${{ matrix.os }}-${{ matrix.arch }}-${{ steps.tag.outputs.TAG }}
4444
45+ release-freebsd :
46+ name : Build FreeBSD
47+ runs-on : ubuntu-latest
48+ strategy :
49+ matrix :
50+ os : [freebsd]
51+ arch : [amd64, arm64]
52+ steps :
53+ - uses : actions/checkout@v4
54+ - name : tag
55+ id : tag
56+ run : echo "TAG=$(git describe --tags --dirty)" >> "$GITHUB_OUTPUT"
57+ - name : Prepare FreeBSD
58+ uses : vmactions/freebsd-vm@v1.2.1
59+ with :
60+ arch : ${{ matrix.arch }}
61+ sync : sshfs
62+ prepare : |
63+ pkg install -y gmake go
64+ - name : Build
65+ shell : freebsd {0}
66+ run : |
67+ cd $GITHUB_WORKSPACE
68+ gmake APP=${{ env.APP }}-${{ matrix.os }}-${{ matrix.arch }}-${{ steps.tag.outputs.TAG }}
69+ - name : Release
70+ uses : softprops/action-gh-release@v2
71+ with :
72+ files : ${{ env.APP }}-${{ matrix.os }}-${{ matrix.arch }}-${{ steps.tag.outputs.TAG }}
73+
4574 docker :
4675 name : Build Docker container
4776 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments