forked from scream3r/java-simple-serial-connector
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
144 additions
and
89 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,90 @@ | ||
name: build | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
MAVEN_OPTS: -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn | ||
|
||
jobs: | ||
ubuntu: | ||
runs-on: [ubuntu-latest] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- profile: x86 | ||
packages: g++-multilib | ||
|
||
- profile: x86_64 | ||
packages: g++- | ||
|
||
- profile: armhf | ||
packages: g++-arm-linux-gnueabihf | ||
|
||
- profile: aarch64 | ||
packages: g++-aarch64-linux-gnu | ||
|
||
- profile: riscv64 | ||
packages: g++-riscv64-linux-gnu | ||
|
||
- profile: ppc64 | ||
packages: g++-powerpc64le-linux-gnu | ||
|
||
- profile: mingw32 | ||
packages: g++-mingw-w64-i686 | ||
|
||
- profile: mingw64 | ||
packages: g++-mingw-w64-x86-64 | ||
|
||
- profile: mingwaarch64 | ||
packages: clang | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: temurin | ||
|
||
- run: sudo apt-get install socat ${{ matrix.packages }} | ||
- run: mvn -P "${{ matrix.profile }}" --batch-mode | ||
|
||
macos: | ||
runs-on: [macos-latest] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- profile: aarch64 | ||
- profile: x86_64 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: temurin | ||
|
||
- run: brew install socat | ||
- run: mvn -P "${{ matrix.profile }}" --batch-mode | ||
|
||
windows: | ||
runs-on: [windows-latest] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- profile: aarch64 | ||
|
||
- profile: x86_64 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: temurin | ||
|
||
- run: mvn -P "${{ matrix.profile }}" --batch-mode |
This file was deleted.
Oops, something went wrong.
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
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
Binary file modified
BIN
-16.2 KB
(69%)
src/main/resources-precompiled/natives/osx_arm64/libjssc.dylib
Binary file not shown.
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
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,10 @@ | ||
set(CMAKE_SYSTEM_NAME Linux) | ||
set(TOOLCHAIN_PREFIX riscv32-linux-gnu) | ||
set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc) | ||
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++) | ||
set(CMAKE_STRIP ${TOOLCHAIN_PREFIX}-strip CACHE FILEPATH "" FORCE) | ||
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX}/) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH) | ||
|
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,10 @@ | ||
set(CMAKE_SYSTEM_NAME Linux) | ||
set(TOOLCHAIN_PREFIX riscv64-linux-gnu) | ||
set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc) | ||
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++) | ||
set(CMAKE_STRIP ${TOOLCHAIN_PREFIX}-strip CACHE FILEPATH "" FORCE) | ||
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX}/) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH) | ||
|