Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile contracts for verification; push only on master #18

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

Nathan-SL
Copy link
Contributor

@Nathan-SL Nathan-SL commented Jun 22, 2023

Closes #8
Closes #15

@Nathan-SL Nathan-SL requested a review from FabijanC June 22, 2023 09:32
.circleci/config.yml Outdated Show resolved Hide resolved
@FabijanC FabijanC changed the title Compile contracts for verification Compile contracts for verification; push only on master Jun 27, 2023
# push
docker push "$TAGGED_IMAGE"
docker push "$LATEST_IMAGE"
&& /usr/local/bin/target/release/starknet-sierra-compile --version \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to stack all of this into a single docker run command. Why not separate cairo0 and cairo1 testing (at least into two functions of this file)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nathan-SL
Copy link
Contributor Author

Nathan-SL commented Jun 28, 2023

We need to copy DOCKER_USER & DOCKER_PASS environment variables.
[EDIT] No need to copy environment variables. Following commit will set docker login for branch master only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build on side branches Test by compiling sample contracts
2 participants