Skip to content

Prepare next release iteration v0.2.1-SNAPSHOT #243

Prepare next release iteration v0.2.1-SNAPSHOT

Prepare next release iteration v0.2.1-SNAPSHOT #243

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '8', '11', '17', '21', '22' ]
steps:
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy,rustfmt
- uses: actions/checkout@v4
- name: Cache Rust
uses: Swatinem/rust-cache@v2
- name: Install dependencies
run: sudo apt-get update
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build native lib
env:
RUSTFLAGS: '--cfg surrealdb_unstable'
run: cargo build
- name: Test
run: |
chmod +x gradlew
./gradlew -i test jacocoTestReport