From fd87bac3e02d4afb585e077f86da83ca330078ea Mon Sep 17 00:00:00 2001 From: marc0246 <40955683+marc0246@users.noreply.github.com> Date: Sun, 29 Oct 2023 21:20:08 +0100 Subject: [PATCH] Update CI workflow to account for the two workspaces --- .github/workflows/rust.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 551aa4e16e..6d7ed917d0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,23 +19,35 @@ jobs: # - name: Ninja Install # run: pip install ninja - uses: actions/checkout@v3 - - name: Build + - name: Build tests run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: Build examples + run: | + cd examples + cargo build --verbose linux_stable: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Build + - name: Build tests run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: Build examples + run: | + cd examples + cargo build --verbose macos_stable: runs-on: macos-latest steps: - uses: actions/checkout@v3 - - name: Build + - name: Build tests run: cargo build --verbose - name: Run tests run: cargo test --verbose + - name: Build examples + run: | + cd examples + cargo build --verbose