-
Notifications
You must be signed in to change notification settings - Fork 4
51 lines (45 loc) · 1.18 KB
/
main.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
name: Main
on:
push:
branches: [master]
pull_request:
jobs:
linux-jdk8:
runs-on: ubuntu-latest
container: "registry.gitlab.com/mffd3s/java/ubench-agent:v1"
continue-on-error: true
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Run gate
shell: bash
run: env JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk ant -Dagent.feature.want.papi=false gate
macos:
runs-on: macos-latest
continue-on-error: true
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Run gate
shell: bash
run: ant -Dtest.classes.excluded=**/ThreadTimeTest.class gate
windows:
runs-on: windows-latest
continue-on-error: true
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
- name: Run gate
run: ant '"-Dagent.cc=msvc"' gate