Skip to content

Commit

Permalink
clean and add yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nisnislevi committed May 22, 2024
1 parent 53397f7 commit 98e5411
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 208 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/certora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: certora

on:
push:
branches:
- main
- certora
pull_request:
branches:
- main
- certora

workflow_dispatch:

jobs:
verify:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Install python
uses: actions/setup-python@v2
with: { python-version: 3.9 }

- name: Install java
uses: actions/setup-java@v1
with: { java-version: '11', java-package: jre }

- name: Install certora cli
run: pip install certora-cli-7.6.3

- name: Install solc
run: |
wget https://github.com/ethereum/solidity/releases/download/v0.8.10/solc-static-linux
chmod +x solc-static-linux
sudo mv solc-static-linux /usr/local/bin/solc8.10
- name: Verify rule ${{ matrix.rule }}
run: |
echo "key length" ${#CERTORAKEY}
certoraRun certora/steward/conf/${{ matrix.rule }}
env:
CERTORAKEY: ${{ secrets.CERTORAKEY }}

strategy:
fail-fast: false
max-parallel: 16
matrix:
rule:
- ccip.conf
49 changes: 0 additions & 49 deletions certora/README.md

This file was deleted.

80 changes: 0 additions & 80 deletions certora/harness/PoolHarness.sol

This file was deleted.

79 changes: 0 additions & 79 deletions certora/scripts/run-all.sh

This file was deleted.

0 comments on commit 98e5411

Please sign in to comment.