Prepare workflows

This commit is contained in:
Christopher Schnick
2022-03-10 19:38:57 +01:00
parent 4ba3687dc8
commit 770d7be208
12 changed files with 114 additions and 3 deletions
+31
View File
@@ -0,0 +1,31 @@
name: Build
on: []
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [
ubuntu-20.04,
# macos-10.15,
windows-2022
]
fail-fast: false
name: ${{ matrix.os }}
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
version: '21.3.0'
java-version: '17'
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Execute build
run: ./gradlew :api:clean :api:build
+28
View File
@@ -0,0 +1,28 @@
name: Build
on: []
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
version: '21.3.0'
java-version: '17'
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Execute build
run: ./gradlew :api:clean :api:build
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: api
path: build/libs
+31
View File
@@ -0,0 +1,31 @@
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [
ubuntu-20.04,
# macos-10.15,
windows-2022
]
fail-fast: false
name: ${{ matrix.os }}
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Set up GraalVM
uses: graalvm/setup-graalvm@v1
with:
version: '21.3.0'
java-version: '17'
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Execute build
run: ./gradlew :core:clean :core:build
+1
View File
@@ -19,3 +19,4 @@ repository, which is shared between all components and integrated as a git submo
Some unit tests depend on a connection to an X-Pipe daemon to properly function.
To launch the installed daemon, it is required that the `XPIPE_HOME` environment variable
is set or the `xpipe` / `xpipe.exe` CLI executable is added to the `PATH` variable.
+3
View File
@@ -0,0 +1,3 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.xpipe/api/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.xpipe/api)
[![javadoc](https://javadoc.io/badge2/io.xpipe/api/javadoc.svg)](https://javadoc.io/doc/io.xpipe/api)
[![Build Status](https://github.com/xpipe-io/xpipe_java/actions/workflows/api-build.yml/badge.svg)](https://github.com/xpipe-io/xpipe_java/actions/workflows/api-build.yml)
+4
View File
@@ -1,3 +1,7 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.xpipe/beacon/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.xpipe/beacon)
[![javadoc](https://javadoc.io/badge2/io.xpipe/beacon/javadoc.svg)](https://javadoc.io/doc/io.xpipe/beacon)
[![Build Status](https://github.com/xpipe-io/xpipe_java/actions/workflows/beacon.yml/badge.svg)](https://github.com/xpipe-io/xpipe_java/actions/workflows/beacon.yml)
## X-Pipe Beacon
The X-Pipe beacon component is responsible for handling all communications between the X-Pipe daemon
@@ -36,7 +36,6 @@ public class BeaconServer {
if (print) {
System.out.println("Executing custom daemon launch command: " + custom);
}
System.out.println(System.getenv());
var proc = Runtime.getRuntime().exec(custom);
new Thread(null, () -> {
try {
+5
View File
@@ -1,3 +1,8 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.xpipe/core/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.xpipe/core)
[![javadoc](https://javadoc.io/badge2/io.xpipe/core/javadoc.svg)](https://javadoc.io/doc/io.xpipe/core)
[![Build Status](https://github.com/xpipe-io/xpipe_java/actions/workflows/core-build.yml/badge.svg)](https://github.com/xpipe-io/xpipe_java/actions/workflows/core-build.yml)
## X-Pipe Core
The X-Pipe core component contains all the shared core classes used by the API, beacon, and daemon.
+1 -1
Submodule deps updated: 49a1ad06bc...d098dfdee8
+4
View File
@@ -1,3 +1,7 @@
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.xpipe/extension/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.xpipe/extension)
[![javadoc](https://javadoc.io/badge2/io.xpipe/extension/javadoc.svg)](https://javadoc.io/doc/io.xpipe/extension)
[![Build Status](https://github.com/xpipe-io/xpipe_java/actions/workflows/extension.yml/badge.svg)](https://github.com/xpipe-io/xpipe_java/actions/workflows/extension.yml)
## X-Pipe Extension API
The X-Pipe extension API allows you to create extensions of any kind for X-Pipe.
+1 -1
View File
@@ -27,8 +27,8 @@ repositories {
dependencies {
implementation project(':core')
implementation project(':fxcomps')
implementation 'io.xpipe:fxcomps:0.1'
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'org.controlsfx:controlsfx:11.1.1'
}
+5
View File
@@ -12,6 +12,11 @@ repositories {
mavenCentral()
}
// The used X-Pipe API version.
// In your case, you have to fix this value to the target API version,
// which you can find at https://search.maven.org/artifact/io.xpipe/api/
def apiVersion = file('../../version').text
dependencies {
implementation project(':core')
implementation project(':api')