Skip to content

add license and description to Cargo file #345

add license and description to Cargo file

add license and description to Cargo file #345

Workflow file for this run

name: Continuous Integration Build
on:
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-14]
include:
- os: ubuntu-latest
name: Build on Linux
zigInstall: sudo snap install zig --beta --classic
- os: macos-14
name: Build on macOS
zigInstall: brew install zig
runs-on: ${{ matrix.os }}
name: ${{ matrix.name }}
steps:
- name: Checkout cedar-java
uses: actions/checkout@v4
- name: Prepare Rust Build
run: rustup update stable && rustup default stable
- name: Check FFI Formatting
working-directory: CedarJavaFFI
run: cargo fmt --all --check
- name: Install Zig
run: ${{ matrix.zigInstall }}
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'corretto'
cache: 'gradle'
- name: Build FFI and Java Libraries
working-directory: CedarJava
run: ./gradlew build
- name: Generate Java Documentation
working-directory: CedarJava
run: ./gradlew javadoc