-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to intall-kontrol action and run kontrol intead of foundry (#16)
* Move to intall-kontrol action and run kontrol intead of foundry * Fix bash script * Run on pull request * concurrency * Update run-kontrol.sh Fixing typo probably breaking build Co-authored-by: Palina Tolmach <[email protected]> * Additions from review * Adding new git submodule to track cheatcodes repository * update cheat code reference in README * Updating ReADME documentation, run-kontrol script formatting and steps to follow the README example more closely. Adding some media files for Example showing * remove profile definition from env vars --------- Co-authored-by: rv-jenkins <[email protected]> Co-authored-by: Palina Tolmach <[email protected]>
- Loading branch information
1 parent
4baa52d
commit bb9586b
Showing
12 changed files
with
276 additions
and
229 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 @@ | ||
*.png filter=lfs diff=lfs merge=lfs -text |
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,34 +1,30 @@ | ||
name: test | ||
name: Kontrol CI Demo | ||
|
||
on: workflow_dispatch | ||
|
||
env: | ||
FOUNDRY_PROFILE: ci | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
check: | ||
concurrency: kontrol-ci-demo | ||
strategy: | ||
fail-fast: true | ||
|
||
name: Foundry project | ||
runs-on: ubuntu-latest | ||
name: Kontrol Demo Project | ||
runs-on: [self-hosted, linux, normal] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
- name: Install Kontrol | ||
uses: runtimeverification/install-kontrol@v1.0.0 | ||
with: | ||
version: nightly | ||
|
||
- name: Run Forge build | ||
run: | | ||
forge --version | ||
forge build --sizes | ||
id: build | ||
version: latest | ||
|
||
- name: Run Forge tests | ||
- name: Run Kontrol Tests | ||
run: | | ||
forge test -vvv | ||
id: test | ||
./run-kontrol.sh |
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,7 @@ | ||
# Compiler files | ||
cache/ | ||
out/ | ||
*.tar | ||
|
||
# Ignores development broadcast logs | ||
!/broadcast | ||
|
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,6 @@ | ||
[submodule "lib/forge-std"] | ||
path = lib/forge-std | ||
url = https://github.com/foundry-rs/forge-std | ||
[submodule "lib/kontrol-cheatcodes"] | ||
path = lib/kontrol-cheatcodes | ||
url = https://github.com/runtimeverification/kontrol-cheatcodes.git |
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
Oops, something went wrong.