-
Notifications
You must be signed in to change notification settings - Fork 16
46 lines (42 loc) · 1.13 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: CI
on: [push, pull_request]
jobs:
compile-en:
name: EN version
runs-on: ubuntu-latest
container: allanblanchardgh/tutoriel_wp:latex
steps:
- name: retrieve sources
uses: actions/checkout@v4
- name: compile
run: make -C english
- name: archive PDFs
uses: actions/upload-artifact@v4
with:
name: frama-c-wp-tutorial-en.pdf
path: english/main.pdf
compile-fr:
name: FR version
runs-on: ubuntu-latest
container: allanblanchardgh/tutoriel_wp:latex
steps:
- name: retrieve sources
uses: actions/checkout@v4
- name: compile
run: make -C french
- name: archive PDFs
uses: actions/upload-artifact@v4
with:
name: frama-c-wp-tutoriel-fr.pdf
path: french/main.pdf
check-code:
name: Check code
runs-on: ubuntu-latest
container: allanblanchardgh/tutoriel_wp:frama-c
steps:
- name: Check Why3
run: cat /root/.why3.conf && why3 config detect
- name: retrieve sources
uses: actions/checkout@v4
- name: execute
run: cd code ; make