forked from eclipse-texlipse/texlipse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[eclipse-texlipse#109] Restore pipeline
Use GitHub actions as temporary solution
- Loading branch information
1 parent
3860745
commit 803f658
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
############################################################################### | ||
# Copyright (c) 2024 ArSysOp and others | ||
# | ||
# 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: | ||
# Alexander Fedorov (ArSysOp) - initial API and implementation | ||
############################################################################### | ||
|
||
# This workflow does regular Maven build from the root. | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
- name: Set up Maven | ||
uses: stCarolas/[email protected] | ||
with: | ||
maven-version: 3.9.4 | ||
- name: Configure Maven | ||
run: echo "MAVEN_OPTS='-Xmx2048m'" > ~/.mavenrc | ||
- name: Cache maven repo | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-maven-repo | ||
with: | ||
# maven files are stored in `~/.m2/repository` on Linux/macOS | ||
path: | | ||
~/.m2/repository | ||
!~/.m2/repository/org/eclipse/texlipse | ||
!~/.m2/repository/.cache/tycho | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.sha1') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- name: Build with Maven | ||
run: mvn clean verify --no-transfer-progress -U -e -Daether.connector.https.securityMode=insecure |