This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 495
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 #443 from EOSIO/cicd-actions-r1.9
[1.9.x] Actions for community PRs.
- Loading branch information
Showing
3 changed files
with
51 additions
and
13 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 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,48 @@ | ||
name: Pull Request | ||
on: [pull_request] | ||
|
||
jobs: | ||
start-job: | ||
name: Start Job | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Start Job. | ||
run: echo "PR created. Builds will be triggered here for forked PRs or Buildkite for internal PRs." | ||
|
||
|
||
ubuntu-1804-build: | ||
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id | ||
name: Ubuntu 18.04 | Build | ||
runs-on: ubuntu-latest | ||
needs: start-job | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e | ||
with: | ||
submodules: recursive | ||
- name: Build | ||
run: | | ||
./.cicd/build.sh | ||
tar -pczf build.tar.gz build | ||
- name: Upload Build Artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ubuntu-1804-build | ||
path: build.tar.gz | ||
ubuntu-1804-parallel-test: | ||
name: Ubuntu 18.04 | Unit Test | ||
runs-on: ubuntu-latest | ||
needs: ubuntu-1804-build | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e | ||
with: | ||
submodules: recursive | ||
- name: Download Build Artifact | ||
uses: actions/download-artifact@v1 | ||
with: | ||
name: ubuntu-1804-build | ||
- name: Parallel Test | ||
run: | | ||
tar -xzf ubuntu-1804-build/build.tar.gz | ||
./.cicd/test.sh |
This file was deleted.
Oops, something went wrong.