From 3780f8e864fd6558de20abf1a21c33c04d6bad8d Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 25 Apr 2021 20:33:32 -0700 Subject: [PATCH] fix error log. --- .github/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 + +