-
Notifications
You must be signed in to change notification settings - Fork 37
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 #519 from binpash/badges
Badges Table and CI updates
- Loading branch information
Showing
5 changed files
with
64 additions
and
3 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,41 @@ | ||
name: Build | ||
on: | ||
pull_request_target: | ||
types: [assigned, opened, synchronize, reopened, ready_for_review] | ||
# the paths that trigger the ci | ||
paths: | ||
- compiler/** | ||
- runtime/** | ||
- evaluation/** | ||
- annotations/** | ||
push: | ||
branches: | ||
- main | ||
- future | ||
paths: | ||
- compiler/** | ||
- runtime/** | ||
- evaluation/** | ||
- annotations/** | ||
|
||
# Jobs section | ||
jobs: | ||
build-pash: | ||
runs-on: ubuntu-latest | ||
if: github.event.pull_request.draft == false | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Building Pash | ||
run: | | ||
set -e | ||
sudo touch /.githubenv | ||
# install the system deps and pash the environment | ||
sudo -E bash scripts/distro-deps.sh -o | ||
# install pash | ||
sudo -E bash scripts/setup-pash.sh -o | ||
export PASH_TOP=$PWD | ||
export PATH=$PATH:$PASH_TOP | ||
# run a simple command | ||
$PASH_TOP/pa.sh -c 'echo done' |
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
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