-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #429 from binpash/future
Merge future to main
- Loading branch information
Showing
101 changed files
with
3,019 additions
and
408 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,44 @@ | ||
name: Pash-future-CI-issue | ||
on: | ||
# Run the for-loop tests when pushing to future or when creating a new PR | ||
push: | ||
branches: | ||
- future | ||
paths: | ||
- compiler/** | ||
- runtime/** | ||
- evaluation/** | ||
- annotations/** | ||
pull_request: | ||
branches: | ||
- future | ||
paths: | ||
- compiler/** | ||
- runtime/** | ||
- evaluation/** | ||
- annotations/** | ||
jobs: | ||
future-ci: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Inject slug/short variables | ||
uses: rlespinasse/github-slug-action@v3.x | ||
- name: Trigger Future CI | ||
run: | | ||
echo "Slug variables" | ||
base=${{ env.GITHUB_REF_SLUG }} | ||
branch=${{ env.GITHUB_HEAD_REF_SLUG }} | ||
hash=${{ env.GITHUB_SHA_SHORT }} | ||
if [[ $branch == '' ]]; then | ||
echo "We are pushing directly to future" | ||
branch=$base | ||
else | ||
echo "We are doing a PR" | ||
hash=${{ env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT }} | ||
fi | ||
# construct the url for performance and correctness | ||
tests="http://ctrl.pash.ndr.md/job=issue&branch=$branch&benchmark=TIGHT-LOOP&commit=$hash" | ||
# issue the tests for the future branch | ||
curl -s "$tests" | ||
echo "$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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"command": "convert", | ||
"cases": | ||
[ | ||
|
||
{ | ||
"predicate": "default", | ||
"class": "pure", | ||
"inputs": ["args[1]"], | ||
"outputs": ["args[2]"] | ||
} | ||
] | ||
} |
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
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,13 @@ | ||
{ | ||
"command": "ffmpeg", | ||
"cases": | ||
[ | ||
{ | ||
"predicate": "default", | ||
"class": "pure", | ||
"inputs": ["args[:]"], | ||
"outputs": ["stdout"], | ||
"options": ["stdin-hyphen"] | ||
} | ||
] | ||
} |
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,12 @@ | ||
{ | ||
"command": "package_build_aux", | ||
"cases": | ||
[ | ||
{ | ||
"predicate": "default", | ||
"class": "pure", | ||
"inputs": ["args[0]"], | ||
"outputs": ["stdout"] | ||
} | ||
] | ||
} |
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,13 @@ | ||
{ | ||
"command": "process_bio_s_line", | ||
"cases": | ||
[ | ||
{ | ||
"predicate": "default", | ||
"class": "pure", | ||
"inputs": ["args[0]"], | ||
"outputs": ["stdout"] | ||
} | ||
], | ||
"comment": "Used in bio script." | ||
} |
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,13 @@ | ||
{ | ||
"command": "comm", | ||
"cases": | ||
[ | ||
{ | ||
"predicate": "default", | ||
"class": "pure", | ||
"inputs": ["args[:]"], | ||
"outputs": ["stdout"], | ||
"options": ["stdin-hyphen"] | ||
} | ||
] | ||
} |
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,12 @@ | ||
{ | ||
"command": "run_tests", | ||
"cases": | ||
[ | ||
{ | ||
"predicate": "default", | ||
"class": "pure", | ||
"inputs": ["args[0]"], | ||
"outputs": ["stdout"] | ||
} | ||
] | ||
} |
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
Oops, something went wrong.