From fdda91b38acd8348956e4bac4d30fff98a53d59f Mon Sep 17 00:00:00 2001 From: Peter M Date: Thu, 2 Nov 2023 21:46:34 +0100 Subject: [PATCH] freebsd ci fix Signed-off-by: Peter M --- .../workflows/build-and-test-on-freebsd.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-and-test-on-freebsd.yaml b/.github/workflows/build-and-test-on-freebsd.yaml index fb38dbfe7..005feb8d1 100644 --- a/.github/workflows/build-and-test-on-freebsd.yaml +++ b/.github/workflows/build-and-test-on-freebsd.yaml @@ -40,17 +40,14 @@ jobs: - name: Build and Test on FreeBSD id: build-and-test-on-freebsd - uses: vmactions/freebsd-vm@v0 + uses: cross-platform-actions/action@v0.21.0 timeout-minutes: 20 with: - envs: 'ATOMVM_EXAMPLE' - usesh: true - sync: rsync - copyback: false - - prepare: | - pkg install -y curl cmake gperf erlang elixir - + memory: 1024 + shell: sh + operating_system: freebsd + version: '13.2' + environment_variables: 'ATOMVM_EXAMPLE' run: | echo "%%" @@ -58,6 +55,7 @@ jobs: echo "%%" echo "**freebsd-version:**" freebsd-version + sudo pkg install -y curl cmake gperf erlang elixir echo "**uname:**" uname -a echo "**C Compiler version:**" @@ -118,7 +116,7 @@ jobs: echo "%%" echo "%% Running install ..." echo "%%" - make install + sudo make install atomvm examples/erlang/hello_world.avm atomvm -v atomvm -h