Skip to content

Commit

Permalink
Merge pull request #21 from cmu-pasta/vasu/ci
Browse files Browse the repository at this point in the history
Add new gradle GH workflow
  • Loading branch information
vasumv authored Mar 25, 2024
2 parents 3d253c5 + 9ec5812 commit 899ed65
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
- name: Build sfuzz (no tests)
run: ./gradlew build -x test
- name: Instrument JDK
run: ./gradlew jlink
- name: Build shadow JAR
run: ./gradlew shadowJar
- name: Test sfuzz
run: ./gradlew test

0 comments on commit 899ed65

Please sign in to comment.