Skip to content

Commit a209e4c

Browse files
Migrate Drone to Garm
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent 24c8538 commit a209e4c

2 files changed

Lines changed: 37 additions & 51 deletions

File tree

‎.drone.yml‎

Lines changed: 0 additions & 51 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-FileCopyrightText: 2019 Tobias Kaminsky <tobias@kaminsky.me>
3+
# SPDX-License-Identifier: GPL-3.0-or-later
4+
5+
name: Assemble & Test
6+
7+
on:
8+
pull_request:
9+
branches: [ master, main, stable-* ]
10+
push:
11+
branches: [ master, main, stable-* ]
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
assemble-test:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
- name: Set up JDK 17
22+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
23+
with:
24+
distribution: "temurin"
25+
java-version: 17
26+
- name: Setup Gradle properties
27+
run: |
28+
mkdir -p "$HOME/.gradle"
29+
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > "$HOME/.gradle/gradle.properties"
30+
- name: Assemble debug
31+
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0
32+
with:
33+
arguments: assembleDebug
34+
- name: Run tests
35+
uses: gradle/gradle-build-action@ac2d340dc04d9e1113182899e983b5400c17cda1 # v3.5.0
36+
with:
37+
arguments: test

0 commit comments

Comments
 (0)