-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (53 loc) · 1.4 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Build
on:
push:
branches: [ master ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
defaults:
run:
working-directory: ./orx
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v3
with:
path: ./orsl
- name: Validate Gradle wrapper
uses: gradle/[email protected]
- name: Checkout OPENRNDR repository
uses: actions/checkout@v3
with:
fetch-depth: 0
repository: openrndr/openrndr
path: ./openrndr
ref: master
- name: Checkout ORX repository
uses: actions/checkout@v3
with:
fetch-depth: 0
repository: openrndr/orx
path: ./orx
ref: master
- name: Test glxinfo
run: |
sudo apt-get update
sudo apt-get install -y mesa-utils xvfb
xvfb-run glxinfo
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: gradle
- name: Build OPENRNDR
working-directory: ./openrndr
run: ./gradlew publishToMavenLocal snapshot
- name: Build ORX
working-directory: ./orx
run: ./gradlew publishToMavenLocal snapshot
- name: Build ORSL
working-directory: ./orsl
run: ./gradlew publishToMavenLocal