Skip to content

Commit

Permalink
added example build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sliemeobn committed Jun 25, 2024
1 parent 1632fe6 commit bfadcb2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci-examples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Examples

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

defaults:
run:
working-directory: ./Examples/HummingbirdDemo

jobs:
ci:
name: Build Examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: Build
run: swift build

0 comments on commit bfadcb2

Please sign in to comment.