Skip to content

Commit dc71f8c

Browse files
committed
add ci
1 parent 501b277 commit dc71f8c

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
test:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [ubuntu-latest, macos-latest]
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Setup Carp
20+
uses: carpentry-org/setup-carp@v1
21+
22+
- name: Run tests
23+
run: |
24+
set -euo pipefail
25+
bash ./test-all.sh
26+
27+
- name: Generate docs
28+
run: carp -x gendocs.carp

0 commit comments

Comments
 (0)