-
Notifications
You must be signed in to change notification settings - Fork 42
44 lines (37 loc) · 1.11 KB
/
ci.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
###############################################################################
# Copyright (c) 2022, 2024 SWTChart project
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0/.
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Matthias Mailänder - initial API and implementation
###############################################################################
name: Continuous Integration
on:
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout SWTChart
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.2
- name: Build with Maven
uses: coactions/setup-xvfb@v1
with:
run: mvn -f org.eclipse.swtchart.cbi/pom.xml -T 1C verify --batch-mode --no-transfer-progress