Skip to content

Test #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,20 @@ jobs:
with:
version: 1.2.0-rc1

- run: alr index "--add=git+https://github.com/alire-project/alire-index#gnat_n_gnatprove_12" --name=test --before=community

# Build the project using the validation build profile to enforce static analysis and coding style.
- run: alr build --validation

# Run GNATprove to perform automatice formal verification of the SPARK code.
- run: alr gnatprove -j0 --level=4
- run: alr gnatprove -j0 --level=4 --checks-as-errors --report=provers -v

- uses: actions/upload-artifact@v3
with:
name: gnatprove.out
path: obj\validation\gnatprove\gnatprove.out

- run: alr exec -- gnatprove --version

# Instrument the project code for coverage analysis.
- run: cd tests && alr gnatcov instrument --level=stmt --dump-trigger=atexit --projects ada_spark_workflow.gpr
Expand Down Expand Up @@ -61,6 +70,7 @@ jobs:
# Save the path to the release manifest for the next step.
# This is a little trick to get around the fact that the actions/upload-release-asset doesn't allow globing pattern.
- name: Get Release Manifest PATH
shell: bash
run: |
export MANIFEST_PATHNAME=$(ls alire/releases/*.toml | head -n 1)
echo MANIFEST_PATHNAME=$MANIFEST_PATHNAME >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion alire.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ licenses = "MIT"

[[depends-on]]
resources = "~0.1.0"
gnatprove = "^11.2.3"
gnatprove = "^12.1.1"

[[pins]]
resources = { url='https://github.com/alire-project/resources' }