Skip to content

Commit

Permalink
Change the ci.yml file to use the paid runner when running from FreeR…
Browse files Browse the repository at this point in the history
…TOS, and use a free ubuntu-20.04 runner if run from a users fork
  • Loading branch information
Skptak committed Dec 15, 2023
1 parent 20c4a10 commit 0696d58
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ jobs:
config: .github/memory_statistics_config.json
check_against: docs/doxygen/include/size_table.md

proof_ci:
if: ${{ github.event.pull_request }}
proof_ci_cbmc_runner:
if: ${{ github.event.repository.owner }} == "FreeRTOS"
runs-on: cbmc_ubuntu-latest_16-core
steps:
- name: Set up CBMC runner
Expand All @@ -211,3 +211,17 @@ jobs:
uses: FreeRTOS/CI-CD-Github-Actions/run_cbmc@main
with:
proofs_dir: test/cbmc/proofs

proof_ci_ubuntu_runner:
if: ${{ github.event.repository.owner }} != "FreeRTOS"
runs-on: ubuntu-20.04
steps:
- name: Set up CBMC runner
uses: FreeRTOS/CI-CD-Github-Actions/set_up_cbmc_runner@main
with:
cbmc_version: "5.61.0"
cbmc_viewer_version: "3.5"
- name: Run CBMC
uses: FreeRTOS/CI-CD-Github-Actions/run_cbmc@main
with:
proofs_dir: test/cbmc/proofs

0 comments on commit 0696d58

Please sign in to comment.