Skip to content

Try to fix windows #627

Try to fix windows

Try to fix windows #627

Workflow file for this run

name: ci
on:
push:
jobs:
build:
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
java: [ '8', '11', '17' ]
platform: [ 'windows-latest' ] # 'ubuntu-latest', 'macos-12',
exclude:
- platform: ${{ github.repository == 'open-coap/kotlin-mbedtls' || 'macos-12' }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
- name: Enable using libraries from temporary location in mac
if: ${{ matrix.platform == 'macos-12' }}
run: sudo spctl --master-disable
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build -i
# cache-read-only: false