2022-03-24 20:38:19 -04:00
|
|
|
name: Check examples
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/workflows/*.yml'
|
|
|
|
- 'examples/**'
|
|
|
|
- 'ports/unix/**'
|
|
|
|
- 'py/**'
|
|
|
|
- 'shared/**'
|
|
|
|
|
2022-12-13 13:57:34 -05:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-03-24 20:38:19 -04:00
|
|
|
jobs:
|
|
|
|
embedding:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-10 10:50:38 -05:00
|
|
|
- uses: actions/checkout@v3
|
2022-03-24 20:38:19 -04:00
|
|
|
- name: Build
|
|
|
|
run: make -C examples/embedding
|
|
|
|
- name: Run
|
|
|
|
run: test "$(./examples/embedding/hello-embed)" = "Hello world of easy embedding!"
|