-
Notifications
You must be signed in to change notification settings - Fork 18
46 lines (39 loc) · 1.17 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
45
46
###############################################################################
# Copyright (c) 2021, 2024 Eclipse contributors
#
# 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 setup
###############################################################################
name: Continuous Integration
on:
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout ChemClipse
uses: actions/checkout@v4
- uses: sdkman/sdkman-action@main
name: Setup Temurin
id: temurin
with:
candidate: java
version: 17.0.11-tem
- uses: sdkman/sdkman-action@main
name: Setup Maven
id: maven
with:
candidate: maven
version: 3.9.6
- name: Build with Maven
run: |
source $HOME/.sdkman/bin/sdkman-init.sh
mvn -f chemclipse/releng/org.eclipse.chemclipse.aggregator/pom.xml -T 1C verify -Pci --batch-mode --no-transfer-progress