-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from AllanBlanchard/pdfs-ci
PDFs in separate CIs + use latex image
- Loading branch information
Showing
18 changed files
with
103 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
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 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* run.config | ||
STDOPT:+"-wp-prover alt-ergo,z3" | ||
STDOPT:+"-wp-timeout 5" | ||
*/ | ||
|
||
/*@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
code/proof-methodologies/triggering-lemmas/insert_sort-proved.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* run.config | ||
DEPS: @PTEST_DEPS@ @PTEST_DIR@/@PTEST_NAME@.@[email protected]@PTEST_CONFIG@/interactive/*.v | ||
STDOPT:+"-wp-prover alt-ergo,coq -warn-unsigned-overflow -warn-unsigned-downcast -wp-session @PTEST_DIR@/@PTEST_NAME@.@[email protected]@PTEST_CONFIG@" | ||
STDOPT:+"-wp-timeout 5 -wp-prover alt-ergo,coq -warn-unsigned-overflow -warn-unsigned-downcast -wp-session @PTEST_DIR@/@PTEST_NAME@.@[email protected]@PTEST_CONFIG@" | ||
*/ | ||
|
||
#include <stddef.h> | ||
|
2 changes: 1 addition & 1 deletion
2
code/proof-methodologies/triggering-lemmas/oracle/insert_sort-proved.res.oracle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/* run.config | ||
STDOPT:+"-wp-timeout 5" | ||
*/ | ||
|
||
#include <limits.h> | ||
#include <stddef.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
/* run.config | ||
STDOPT:+"-wp-timeout 5" | ||
*/ | ||
|
||
#include <limits.h> | ||
#include <stddef.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
code/statements/loops/oracle/check-admit-invariant.res.oracle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters