-
Notifications
You must be signed in to change notification settings - Fork 662
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This Action performs tests (clean check) in all three OS using NIO, plus an additional run with epoll on Linux and an additional run with KQueue on OSX. It replaces the former Java CI action.
- Loading branch information
1 parent
4c8a1b4
commit df8eb1a
Showing
2 changed files
with
28 additions
and
22 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,28 @@ | ||
name: Check Matrix | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macOS-latest, windows-latest] | ||
transport: [native, nio] | ||
exclude: | ||
# excludes native on Windows (there's none) | ||
- os: windows-latest | ||
transport: native | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Build with Gradle | ||
# IF WE NEED TO TEST DIFFERENT VERSIONS OF NETTY, WE CAN ADD forceNettyVersion TO THE MATRIX | ||
# run: ./gradlew check -PforceTransport=${{ matrix.transport }} -PforceNettyVersion=${{ matrix.netty }} | ||
run: ./gradlew clean check -PforceTransport=${{ matrix.transport }} |
This file was deleted.
Oops, something went wrong.