Build openrndr and orx in snapshot branch
This commit is contained in:
46
.github/workflows/build-on-commit.yaml
vendored
46
.github/workflows/build-on-commit.yaml
vendored
@@ -2,21 +2,51 @@ name: Build on commit
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
|
||||||
- next-version
|
|
||||||
- snapshot
|
- snapshot
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- name: Checkout OPENRNDR repository
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
repository: openrndr/openrndr
|
||||||
|
path: ./openrndr
|
||||||
|
ref: master
|
||||||
|
|
||||||
|
- name: Checkout ORX repository
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
repository: openrndr/orx
|
||||||
|
path: ./orx
|
||||||
|
ref: master
|
||||||
|
|
||||||
|
- name: Checkout current repository
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- uses: actions/setup-java@v5
|
- uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: temurin
|
||||||
java-version: '17'
|
java-version: 21
|
||||||
#cache: 'gradle'
|
|
||||||
|
|
||||||
- name: Build sources
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
|
||||||
|
- name: Set swap space
|
||||||
|
uses: pierotofy/set-swap-space@v1.0
|
||||||
|
with:
|
||||||
|
swap-size-gb: 8
|
||||||
|
|
||||||
|
- name: Build OPENRNDR
|
||||||
|
working-directory: ./openrndr
|
||||||
|
run: ./gradlew publishToMavenLocal snapshot
|
||||||
|
|
||||||
|
- name: Build ORX
|
||||||
|
working-directory: ./orx
|
||||||
|
run: ./gradlew publishToMavenLocal snapshot
|
||||||
|
|
||||||
|
- name: Build template
|
||||||
|
working-directory: ./
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user