Check UnixSocket
path length when validating config
#19
Workflow file for this run
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
name: Test | |
on: [ pull_request ] | |
env: | |
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-XX:+HeapDumpOnOutOfMemoryError -XX:MetaspaceSize=1g" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
java-version: [ 11, 16 ] | |
job: [ test ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Setup Caches [ Gradle Wrapper ] | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.*') }} | |
restore-keys: ${{ runner.os }}-gradle-wrapper- | |
- name: Setup Caches [ Konan ] | |
uses: actions/cache@v1 | |
with: | |
path: ~/.konan | |
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('gradle/libs.versions.toml') }} | |
restore-keys: ${{ runner.os }}-konan- | |
- name: Setup Caches [ Gradle Caches ] | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-java${{ matrix.java-version }}-gradle-caches-${{ hashFiles('**/*.gradle.kts') }}-${{ hashFiles('gradle/libs.versions.toml') }} | |
restore-keys: ${{ runner.os }}-java${{ matrix.java-version }}-gradle-caches- | |
- name: Setup JDK | |
uses: actions/[email protected] | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
- name: Run macOS Tests | |
if: matrix.os == 'macos-latest' && matrix.job == 'test' && matrix.java-version == 11 | |
run: > | |
./gradlew check --stacktrace | |
-PKMP_TARGETS="JVM,JS,IOS_ARM32,IOS_ARM64,IOS_X64,IOS_SIMULATOR_ARM64,MACOS_ARM64,MACOS_X64,TVOS_ARM64,TVOS_X64,TVOS_SIMULATOR_ARM64,WATCHOS_ARM32,WATCHOS_ARM64,WATCHOS_DEVICE_ARM64,WATCHOS_X64,WATCHOS_X86,WATCHOS_SIMULATOR_ARM64,WASM,WASM_32" | |
- name: Run macOS Java16 Tests | |
if: matrix.os == 'macos-latest' && matrix.job == 'test' && matrix.java-version == 16 | |
run: > | |
./gradlew check --stacktrace | |
-PKMP_TARGETS="JVM" | |
- name: Run Linux Tests | |
if: matrix.os == 'ubuntu-latest' && matrix.job == 'test' && matrix.java-version == 11 | |
run: > | |
./gradlew check --stacktrace | |
-PKMP_TARGETS="JVM,JS,ANDROID,ANDROID_ARM32,ANDROID_ARM64,ANDROID_X64,ANDROID_X86,LINUX_ARM32HFP,LINUX_ARM64,LINUX_MIPS32,LINUX_MIPSEL32,LINUX_X64,WASM,WASM_32" | |
- name: Run Linux Java16 Tests | |
if: matrix.os == 'ubuntu-latest' && matrix.job == 'test' && matrix.java-version == 16 | |
run: > | |
./gradlew check --stacktrace | |
-PKMP_TARGETS="JVM" | |
- name: Run Windows Tests | |
if: matrix.os == 'windows-latest' && matrix.job == 'test' && matrix.java-version == 11 | |
run: > | |
./gradlew check --stacktrace | |
-PKMP_TARGETS="JVM,JS,MINGW_X64,MINGW_X86,WASM,WASM_32" |