Fix forums link in java8 prompt (#45) #112
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: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
java: [17-jdk] | |
runs-on: ubuntu-20.04 | |
container: | |
image: openjdk:${{ matrix.java }} | |
options: --user root | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: gradle/wrapper-validation-action@v1 | |
- run: ./gradlew build test --stacktrace | |
buildNatives: | |
strategy: | |
matrix: | |
target: [ x86_64, i686, aarch64 ] | |
runs-on: windows-2019 | |
steps: | |
# TODO: Fix macOS in future | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- uses: gradle/wrapper-validation-action@v1 | |
- run: ./gradlew build copyForNative --stacktrace | |
- run: rustup target add ${{ matrix.target }}-pc-windows-msvc | |
- name: Run Cargo | |
run: cargo check --target ${{ matrix.target }}-pc-windows-msvc | |
working-directory: ./native |