From d2a8f6b947f62a9d508bddebcd8ff4acab214628 Mon Sep 17 00:00:00 2001 From: Philip Degarmo Date: Sat, 12 Oct 2024 20:49:45 -0700 Subject: [PATCH] Add building the simple example to CI --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16df638..4db99b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,23 +32,43 @@ jobs: - name: Build (puffin) run: cargo build --package=profiling --features=profile-with-puffin + - name: Build (puffin example) + run: cargo build --package=profiling --features=profile-with-puffin --example=simple + - name: Build (superluminal) if: ${{ runner.os == 'Windows' && matrix.toolchain == 'stable' }} run: cargo build --package=profiling --features=profile-with-superluminal + - name: Build (superluminal example) + if: ${{ runner.os == 'Windows' && matrix.toolchain == 'stable' }} + run: cargo build --package=profiling --features=profile-with-superluminal --example=simple + - name: Build (optick) if: ${{ runner.os == 'Windows' && matrix.toolchain == 'stable' }} run: cargo build --package=profiling --features=profile-with-optick + - name: Build (optick example) + if: ${{ runner.os == 'Windows' && matrix.toolchain == 'stable' }} + run: cargo build --package=profiling --features=profile-with-optick --example=simple + - name: Build (tracing) run: cargo build --package=profiling --features=profile-with-tracing + - name: Build (tracing example) + run: cargo build --package=profiling --features=profile-with-tracing --example=simple + - name: Build (tracy) run: cargo build --package=profiling --features=profile-with-tracy + - name: Build (tracy example) + run: cargo build --package=profiling --features=profile-with-tracy --example=simple + - name: Build (type-check) run: cargo build --package=profiling --features=type-check + - name: Build (type-check example) + run: cargo build --package=profiling --features=type-check --example=simple + # Only do this on windows, some of the profilers only support windows - name: Run tests if: ${{ runner.os == 'Windows' && matrix.toolchain == 'stable' }}