Skip to content

Add CPP check

Add CPP check #112

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
#pull_request:
# Allows you to run this workflow manually from the Actions tab
#workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
prove_specs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Prove specs
uses: addnab/docker-run-action@v3
with:
username: ${{ secrets.ARTIFACTORY_USERNAME }}
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
registry: artifactory.galois.com:5015
image: artifactory.galois.com:5015/hardens
options: -v ${{ github.workspace }}:/HARDENS
run: |
make -C saw
make -C models
make -C specs validate
make -C specs clean
make -C specs
prove_framac:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Run Frama-C proofs
uses: addnab/docker-run-action@v3
with:
image: framac/frama-c:dev
options: -v ${{ github.workspace }}:/HARDENS
run: |
cp -r /HARDENS/ /tmp
make -C /tmp/HARDENS/src -f frama_c.mk
rts_posix_scenarios:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build RTS and run test scenarios
uses: addnab/docker-run-action@v3
with:
username: ${{ secrets.ARTIFACTORY_USERNAME }}
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
registry: artifactory.galois.com:5015
image: artifactory.galois.com:5015/hardens
options: -v ${{ github.workspace }}:/HARDENS
run: |
make rts
cd tests &&
pip3 install -r requirements.txt &&
RTS_DEBUG=1 QUICK=1 python3 ./run_all.py
rts_riscv_scenarios:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Build RTS and run test scenarios
uses: addnab/docker-run-action@v3
with:
username: ${{ secrets.ARTIFACTORY_USERNAME }}
password: ${{ secrets.ARTIFACTORY_PASSWORD }}
registry: artifactory.galois.com:5015
image: artifactory.galois.com:5015/hardens
options: -v ${{ github.workspace }}:/HARDENS
run: |
make rts
PLATFORM=RV32_bare_metal make rts
# TODO: run scenarios