Skip to content

[dingo-release] bump release version to dingo-v0.9.0 #88

[dingo-release] bump release version to dingo-v0.9.0

[dingo-release] bump release version to dingo-v0.9.0 #88

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths:
- "**/*.java"
- "**/*.h"
- "**/*.cc"
- "**/CMakeList.txt"
- "**/build.gradle"
- "gradle.properties"
- "settings.gradle"
- ".github/workflows/build.yml"
pull_request:
branches:
- main
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Configure libexpr
working-directory: ${{github.workspace}}/libexpr
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTS=OFF
- name: Build libexpr
working-directory: ${{github.workspace}}/libexpr
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: Config jni
working-directory: ${{github.workspace}}/jni/src/main/cpp
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build jni
working-directory: ${{github.workspace}}/jni/src/main/cpp
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: Check and test with Gradle
run: ./gradlew check