-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial version from github actions workflow
- Loading branch information
Showing
6 changed files
with
91 additions
and
0 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,59 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
building-rskj-and-powpeg-node: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: openjdk:8-jdk | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup System Tools | ||
run: | | ||
apt update -y | ||
apt install -y gnupg2 curl | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/checkout@v4 | ||
- name: Pull rskj | ||
with: | ||
repository: rsksmart/rskj | ||
path: './rskj' | ||
run: | | ||
cd rskj | ||
ls -la | ||
# ./configure.sh && chmod +x gradlew | ||
# ./gradlew --no-daemon clean build -x test | ||
|
||
- uses: actions/checkout@v4 | ||
- name: Pull powpeg-node | ||
with: | ||
repository: rsksmart/powpeg-node | ||
path: './powpeg-node' | ||
run: | | ||
cd powpeg-node | ||
ls -la | ||
# ./configure.sh && chmod +x gradlew | ||
# ./gradlew --no-daemon clean build | ||
|
||
- uses: actions/cache@v4 | ||
name: Cache Gradle | ||
id: cache-gradle | ||
with: | ||
path: | | ||
.gradle/caches | ||
gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Get gradle wrapper and build dependencies | ||
run: | | ||
./configure.sh | ||
./gradlew --no-daemon dependencies |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.