Skip to content

Commit

Permalink
java-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-bdi committed Feb 29, 2024
1 parent 8f012ff commit 5ea4f2c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

name: JAVA CI

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ master, develop ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build-java:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

# Setup job
- name: Set up JDK 11 for x64
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
architecture: x64
- run: echo $JAVA_HOME

- name: Testing
run: |
cd JAVA && \
ant dist
4 changes: 2 additions & 2 deletions .github/workflows/matlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- uses: actions/checkout@v4

# Setup job
- name: Set up JDK 8 for x64
- name: Set up JDK 11 for x64
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'temurin'
architecture: x64

Expand Down

0 comments on commit 5ea4f2c

Please sign in to comment.