diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a868b1f..3b14b7d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -56,3 +56,30 @@ jobs: file: ${{ env.PROJECT_PATH }}/coverage.txt flags: unittests fail_ci_if_error: false + + buildfreebsd: + runs-on: macos-latest + env: + PROJECT_PATH: /go/src/github.com/analogj/scrutiny + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Build Binaries + uses: vmactions/freebsd-vm@v0.1.4 + with: + usesh: true + prepare: pkg install -y curl go + run: | + pwd + ls -lah + whoami + env + freebsd-version + + mkdir -p $(dirname "$PROJECT_PATH") + cp -a $GITHUB_WORKSPACE $PROJECT_PATH + cd $PROJECT_PATH + + make freebsd/amd64 freebsd/386 + +