forked from bndtools/bnd
-
Notifications
You must be signed in to change notification settings - Fork 0
106 lines (103 loc) · 2.58 KB
/
cibuild.yml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
name: CI Build
on:
push:
paths-ignore:
- 'docs/**'
- '.github/**/*docs*'
pull_request:
paths-ignore:
- 'docs/**'
- '.github/**/*docs*'
env:
LC_ALL: en_US.UTF-8
GRADLE_OPTS: -Dorg.gradle.parallel=false
jobs:
OpenJDK8_Linux:
name: OpenJDK8 Linux
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Git Unshallow
if: (github.repository == 'bndtools/bnd') && (github.event_name != 'pull_request')
shell: bash
run: |
git fetch --prune --unshallow
git describe --dirty --always --abbrev=9
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
shell: bash
run: |
./.github/scripts/build.sh
env:
JFROG_USERNAME: ${{ secrets.JFROG_USERNAME }}
JFROG_PASSWORD: ${{ secrets.JFROG_PASSWORD }}
OpenJDK11_Linux:
name: OpenJDK11 Linux
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build
shell: bash
run: |
./.github/scripts/build.sh
OpenJDK14_Linux:
name: OpenJDK14 Linux
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 14
- name: Build
shell: bash
run: |
./.github/scripts/build.sh
OpenJDK8_Local_Rebuild:
name: OpenJDK8 Local Rebuild
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
shell: bash
run: |
./.github/scripts/rebuild.sh
OpenJDK8_Windows:
name: OpenJDK8 Windows
runs-on: windows-latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build
shell: bash
run: |
./.github/scripts/build.sh