Skip to content

Commit

Permalink
Add building the simple example to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aclysma committed Oct 14, 2024
1 parent 079ee47 commit 2e28f51
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 2e28f51

Please sign in to comment.