Skip to content

Commit

Permalink
Initial version from github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fmacleal committed Jun 10, 2024
1 parent d7061fc commit 2320280
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .github/workflows/build_and_test.yml
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
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/rootstock-integration-tests.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2320280

Please sign in to comment.