mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-19 19:25:53 +00:00
Run clio_tests with gha
This commit is contained in:
31
.github/workflows/build.yml
vendored
31
.github/workflows/build.yml
vendored
@@ -22,19 +22,19 @@ jobs:
|
|||||||
runs-on: [self-hosted, Linux]
|
runs-on: [self-hosted, Linux]
|
||||||
needs: lint
|
needs: lint
|
||||||
steps:
|
steps:
|
||||||
- name: Get Clio repo
|
|
||||||
|
- name: Clone Clio repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: clio_src
|
path: clio_src
|
||||||
ref: 'develop-next'
|
|
||||||
|
|
||||||
- name: Get Clio CI repo
|
- name: Clone Clio CI repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: clio_ci
|
path: clio_ci
|
||||||
repository: 'XRPLF/clio-ci'
|
repository: 'XRPLF/clio-ci'
|
||||||
|
|
||||||
- name: Get GitHub actions repo
|
- name: Clone GitHub actions repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: XRPLF/clio-gha
|
repository: XRPLF/clio-gha
|
||||||
@@ -43,8 +43,27 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
uses: XRPLF/clio-gha/build@main
|
uses: XRPLF/clio-gha/build@main
|
||||||
|
|
||||||
- name: Artifact .deb
|
- name: Artifact clio_tests
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: package
|
name: clio_tests
|
||||||
|
path: clio_tests
|
||||||
|
|
||||||
|
- name: Artifact Debian package
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: deb_package-${{ github.sha }}
|
||||||
path: clio_ci/build/*.deb
|
path: clio_ci/build/*.deb
|
||||||
|
|
||||||
|
test_clio:
|
||||||
|
name: Test Clio
|
||||||
|
runs-on: [self-hosted, Linux]
|
||||||
|
needs: build_clio
|
||||||
|
steps:
|
||||||
|
- name: Get clio_tests artifact
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: clio_tests
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
uses: XRPLF/clio-gha/test@main
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
[](https://github.com/legleux/clio/actions/workflows/build.yml)
|
||||||
|
|
||||||
|
|
||||||
**Status:** This software is in beta mode. We encourage anyone to try it out and
|
**Status:** This software is in beta mode. We encourage anyone to try it out and
|
||||||
report any issues they discover. Version 1.0 coming soon.
|
report any issues they discover. Version 1.0 coming soon.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user