Skip to content

Commit

Permalink
Merge pull request #1 from AlexanderSchuetz97/ci_test
Browse files Browse the repository at this point in the history
Create rust.yml
  • Loading branch information
AlexanderSchuetz97 authored Sep 17, 2024
2 parents e40ba29 + 96b5587 commit 31a4e9e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Rust

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '8'
- name: Build
run: cargo build --verbose --features loadjvm,asserts
- name: Run tests
run: cargo test --verbose --release --features loadjvm,asserts

0 comments on commit 31a4e9e

Please sign in to comment.