mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 15:10:23 +00:00
Prepare workflows
This commit is contained in:
parent
4ba3687dc8
commit
770d7be208
12 changed files with 114 additions and 3 deletions
31
.github/workflows/api-build.yml
vendored
Normal file
31
.github/workflows/api-build.yml
vendored
Normal 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
.github/workflows/api-publish.yml
vendored
Normal file
28
.github/workflows/api-publish.yml
vendored
Normal 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
.github/workflows/core-build.yml
vendored
Normal file
31
.github/workflows/core-build.yml
vendored
Normal 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
|
|
@ -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
api/README.md
Normal file
3
api/README.md
Normal 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)
|
|
@ -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 {
|
||||
|
|
|
@ -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.
|
||||
|
|
2
deps
2
deps
|
@ -1 +1 @@
|
|||
Subproject commit 49a1ad06bc6872f72c1d20ea864d24f3df59b7c5
|
||||
Subproject commit d098dfdee861175ff5b1d5af9e6cbf68e649ade5
|
|
@ -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.
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue