Skip to content

Commit

Permalink
ci (#3)
Browse files Browse the repository at this point in the history
* ci
  • Loading branch information
asukaminato0721 authored Oct 6, 2024
1 parent f51edb5 commit 8ce7545
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 2 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Bindings Java CI

on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
- name: Build and check
working-directory: .
run: |
make java_run
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
- name: Build and test
working-directory: .
shell: bash
run: |
make java_run
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8ce7545

Please sign in to comment.