Skip to content

Commit

Permalink
gha: add dedicated build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lheimbs committed Nov 22, 2023
1 parent 35f75bb commit 2c58142
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 32 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and Test

on: [push, pull_request]

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Build with Gradle
run: ./gradlew build --no-daemon
working-directory: 'pitmutationmate'

- name: Run Tests
run: ./gradlew test --no-daemon
working-directory: 'pitmutationmate'

32 changes: 0 additions & 32 deletions .github/workflows/test.yml

This file was deleted.

0 comments on commit 2c58142

Please sign in to comment.