-
Notifications
You must be signed in to change notification settings - Fork 15
chore(dafny): make CI to work for all runtimes #1871
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
0b4b47e
Add GetDefaultKeysPath
rishav-karanjit cd65595
emtpy commit to run CI
rishav-karanjit 562e86e
CI fix
rishav-karanjit 104ccf8
push CI
rishav-karanjit 0c2de35
formatting
rishav-karanjit 9d288cd
formatting
rishav-karanjit c48a7fd
submodules update
rishav-karanjit e983404
formatting
rishav-karanjit 83973c6
Merge branch 'Golang/reviewed' into Golang/fixTestVectorPath
rishav-karanjit d35916e
auto commit
rishav-karanjit 1c96310
Add pr-ci-go in pr-ci-all-required
rishav-karanjit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,99 +1,94 @@ | ||
# This workflow runs for every pull request | ||
# TODO: CI for Go | ||
name: PR CI | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- Golang/reviewed | ||
schedule: | ||
- cron: "00 16 * * 1-5" | ||
|
||
jobs: | ||
getVersion: | ||
uses: ./.github/workflows/dafny_version.yml | ||
getVerifyVersion: | ||
uses: ./.github/workflows/dafny_verify_version.yml | ||
# pr-ci-format: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/library_format.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-codegen: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/ci_codegen.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-verification: | ||
# needs: getVerifyVersion | ||
# uses: ./.github/workflows/library_dafny_verification.yml | ||
# with: | ||
# dafny: ${{needs.getVerifyVersion.outputs.version}} | ||
# pr-ci-test-vector-verification: | ||
# needs: getVerifyVersion | ||
# uses: ./.github/workflows/test_vector_verification.yml | ||
# with: | ||
# dafny: ${{needs.getVerifyVersion.outputs.version}} | ||
# pr-ci-java: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/ci_test_java.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-java-test-vectors: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/ci_test_vector_java.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-java-examples: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/ci_examples_java.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-net: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/ci_test_net.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-rust: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/library_rust_tests.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-format: | ||
needs: getVersion | ||
uses: ./.github/workflows/library_format.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-codegen: | ||
needs: getVersion | ||
uses: ./.github/workflows/ci_codegen.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-verification: | ||
needs: getVerifyVersion | ||
uses: ./.github/workflows/library_dafny_verification.yml | ||
with: | ||
dafny: ${{needs.getVerifyVersion.outputs.version}} | ||
pr-ci-test-vector-verification: | ||
needs: getVerifyVersion | ||
uses: ./.github/workflows/test_vector_verification.yml | ||
with: | ||
dafny: ${{needs.getVerifyVersion.outputs.version}} | ||
pr-ci-java: | ||
needs: getVersion | ||
uses: ./.github/workflows/ci_test_java.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-java-test-vectors: | ||
needs: getVersion | ||
uses: ./.github/workflows/ci_test_vector_java.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-java-examples: | ||
needs: getVersion | ||
uses: ./.github/workflows/ci_examples_java.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-net: | ||
needs: getVersion | ||
uses: ./.github/workflows/ci_test_net.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-rust: | ||
needs: getVersion | ||
uses: ./.github/workflows/library_rust_tests.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-go: | ||
needs: getVersion | ||
uses: ./.github/workflows/ci_test_go.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-net-test-vectors: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/ci_test_vector_net.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-net-examples: | ||
# needs: getVersion | ||
# uses: ./.github/workflows/ci_examples_net.yml | ||
# with: | ||
# dafny: ${{needs.getVersion.outputs.version}} | ||
# pr-ci-all-required: | ||
# if: always() | ||
# needs: | ||
# - getVersion | ||
# - getVerifyVersion | ||
# - pr-ci-format | ||
# - pr-ci-codegen | ||
# - pr-ci-verification | ||
# - pr-ci-test-vector-verification | ||
# - pr-ci-java | ||
# - pr-ci-java-test-vectors | ||
# - pr-ci-java-examples | ||
# - pr-ci-net | ||
# - pr-ci-rust | ||
# - pr-ci-net-test-vectors | ||
# - pr-ci-net-examples | ||
# runs-on: ubuntu-22.04 | ||
# steps: | ||
# - name: Verify all required jobs passed | ||
# uses: re-actors/alls-green@release/v1 | ||
# with: | ||
# jobs: ${{ toJSON(needs) }} | ||
pr-ci-net-test-vectors: | ||
needs: getVersion | ||
uses: ./.github/workflows/ci_test_vector_net.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-net-examples: | ||
needs: getVersion | ||
uses: ./.github/workflows/ci_examples_net.yml | ||
with: | ||
dafny: ${{needs.getVersion.outputs.version}} | ||
pr-ci-all-required: | ||
if: always() | ||
needs: | ||
- getVersion | ||
- getVerifyVersion | ||
- pr-ci-format | ||
- pr-ci-codegen | ||
- pr-ci-verification | ||
- pr-ci-test-vector-verification | ||
- pr-ci-java | ||
- pr-ci-java-test-vectors | ||
- pr-ci-java-examples | ||
- pr-ci-net | ||
- pr-ci-rust | ||
- pr-ci-go | ||
- pr-ci-net-test-vectors | ||
- pr-ci-net-examples | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Verify all required jobs passed | ||
uses: re-actors/alls-green@release/v1 | ||
with: | ||
jobs: ${{ toJSON(needs) }} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Submodule smithy-dafny
updated
from 276aac to 2f83e2
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For context: Go generates code into
runtimes/go/<Implementation-From-Dafny> or <Test-From-Dafny>/
. When we runmake test_go
, it runs fromruntimes/go/Test-From-Dafny/
. For all other runtimes it runs fromruntimes/<runtime>