From b0ac40042e394fa4eb6964577e2dbc83cd10f667 Mon Sep 17 00:00:00 2001 From: Yonas Yanfa Date: Fri, 23 Aug 2024 07:27:41 -0400 Subject: [PATCH 1/3] 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 From bf01d50b022285f2a2cbf04aa4260ffca67c665f Mon Sep 17 00:00:00 2001 From: Yonas Yanfa Date: Fri, 23 Aug 2024 07:34:44 -0400 Subject: [PATCH 2/3] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index a3a86e5..21eae2c 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -22,6 +22,10 @@ jobs: uses: vmactions/freebsd-vm@v1 with: usesh: true + + prepare: | + pkg install -y rust-nightly + run: | pwd ls -lah @@ -34,6 +38,10 @@ jobs: uses: vmactions/freebsd-vm@v1 with: usesh: true + + prepare: | + pkg install -y rust-nightly + run: | pwd ls -lah From 41847467493f29f9aad1fde623ef62b82e5ae2f5 Mon Sep 17 00:00:00 2001 From: Yonas Yanfa Date: Fri, 23 Aug 2024 07:50:44 -0400 Subject: [PATCH 3/3] Update build-and-test.yml --- .github/workflows/build-and-test.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 21eae2c..93e7df3 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -33,19 +33,4 @@ jobs: env freebsd-version cargo build --release - - name: Test - id: test - uses: vmactions/freebsd-vm@v1 - with: - usesh: true - - prepare: | - pkg install -y rust-nightly - - run: | - pwd - ls -lah - whoami - env - freebsd-version cargo test --verbose