generated from keep-starknet-strange/alexandria
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cleanup kakarot ssj to match latest version of cairo (#38)
* feat: cleanup kakarot ssj to match latest version of cairo * fix: fix CI * fix: fix readme
- Loading branch information
Showing
18 changed files
with
27 additions
and
220 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
This file was deleted.
Oops, something went wrong.
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,48 +1,14 @@ | ||
name: test | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
CAIRO_COMPILER_VERSION: 1.0.0-rc0 | ||
# Temporary use artifacts from custom CI build | ||
ARTIFACT_RELEASE_ARCHIVE_LINK: https://api.github.com/repos/starkware-libs/cairo/actions/artifacts/689746858/zip | ||
ARTIFACT_RELEASE_ARCHIVE_NAME: cairo.zip | ||
RELEASE_ARCHIVE_NAME: x86_64-unknown-linux-musl.tar.gz | ||
|
||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
curl -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -L -o $ARTIFACT_RELEASE_ARCHIVE_NAME $ARTIFACT_RELEASE_ARCHIVE_LINK | ||
unzip $ARTIFACT_RELEASE_ARCHIVE_NAME | ||
tar -xvf $RELEASE_ARCHIVE_NAME | ||
export PATH=$PATH:$(pwd)/cairo/bin | ||
make build | ||
run: | ||
name: run | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
curl -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -L -o $ARTIFACT_RELEASE_ARCHIVE_NAME $ARTIFACT_RELEASE_ARCHIVE_LINK | ||
unzip $ARTIFACT_RELEASE_ARCHIVE_NAME | ||
tar -xvf $RELEASE_ARCHIVE_NAME | ||
export PATH=$PATH:$(pwd)/cairo/bin | ||
# TODO: uncomment when demo is ready | ||
#make run | ||
test: | ||
name: test | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
curl -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -L -o $ARTIFACT_RELEASE_ARCHIVE_NAME $ARTIFACT_RELEASE_ARCHIVE_LINK | ||
unzip $ARTIFACT_RELEASE_ARCHIVE_NAME | ||
tar -xvf $RELEASE_ARCHIVE_NAME | ||
export PATH=$PATH:$(pwd)/cairo/bin | ||
make test | ||
- uses: actions/checkout@v3 | ||
- uses: software-mansion/setup-scarb@v1 | ||
with: | ||
scarb-version: '0.5.2' | ||
- run: scarb fmt --check | ||
- run: scarb test |
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
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,4 @@ | ||
[package] | ||
cairo-version = "2.0.2" | ||
name = "kakarot" | ||
version = "0.1.0" |
Empty file.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -15,3 +15,6 @@ mod context; | |
|
||
// Utils module | ||
mod utils; | ||
|
||
// tests | ||
mod tests; |
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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