From 1e7ac8ec23e54cb27dcabb5b00b2f760a677eb53 Mon Sep 17 00:00:00 2001 From: Stephane Peter Date: Tue, 16 Mar 2021 19:32:02 -0700 Subject: Run git outside of VM; download artifact from Linux --- .github/workflows/build.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 029f3fa..b459908 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,16 +41,24 @@ jobs: runs-on: macos-latest name: Test Makeself on FreeBSD steps: - - uses: actions/checkout@v2 + - name: Checkout Makeself + uses: actions/checkout@v2 + - name: Install git submodules + run: git submodule update --init --recursive + - name: Download Linux-built artifact + uses: actions/download-artifact@v2 + with: + name: Makeself-build + path: artifact - name: Test on FreeBSD uses: vmactions/freebsd-vm@v0.1.2 with: usesh: true - prepare: pkg install -y pbzip2 git + prepare: pkg install -y pbzip2 run: | pwd; freebsd-version - git submodule update --init --recursive make && make test + sh ./artifact/makeself*.run --target /tmp/makeself lint: runs-on: ubuntu-latest -- cgit v1.2.1