From b0ac40042e394fa4eb6964577e2dbc83cd10f667 Mon Sep 17 00:00:00 2001 From: Yonas Yanfa Date: Fri, 23 Aug 2024 07:27:41 -0400 Subject: [PATCH] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 29 ++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 9fd45e0..a3a86e5 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -15,8 +15,29 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose + id: build + uses: vmactions/freebsd-vm@v1 + with: + usesh: true + run: | + pwd + ls -lah + whoami + env + freebsd-version + cargo build --release + - name: Test + id: test + uses: vmactions/freebsd-vm@v1 + with: + usesh: true + run: | + pwd + ls -lah + whoami + env + freebsd-version + cargo test --verbose