From cb728fb8dabb292772eb03e871126004aab3668e Mon Sep 17 00:00:00 2001 From: Yonas Yanfa Date: Fri, 23 Aug 2024 08:12:33 -0400 Subject: [PATCH] Update build-and-test.yml (#1) * Update build-and-test.yml * Update build-and-test.yml * Update build-and-test.yml --- .github/workflows/build-and-test.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 9fd45e0..93e7df3 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -15,8 +15,22 @@ 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 + + prepare: | + pkg install -y rust-nightly + + run: | + pwd + ls -lah + whoami + env + freebsd-version + cargo build --release + cargo test --verbose