Skip to content

Commit 7b2ab71

Browse files
committed
Setup GitHub CI
1 parent 8e1e968 commit 7b2ab71

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
10+
build:
11+
strategy:
12+
matrix:
13+
os: ["ubuntu-latest", "windows-latest"]
14+
15+
runs-on: ${{ matrix.os }}
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- uses: alire-project/setup-alire@v4
21+
with:
22+
version: 2.1.0
23+
24+
- name: Build (validation)
25+
run: |
26+
alr build --validation
27+
28+
- name: Build examples
29+
shell: bash
30+
run: |
31+
cd examples
32+
./build-all.sh --profile=validation
33+
34+
- name: Prove examples
35+
shell: bash
36+
run: |
37+
cd examples
38+
./prove-all.sh

0 commit comments

Comments
 (0)