diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml new file mode 100644 index 0000000..a219336 --- /dev/null +++ b/.github/workflows/java-ci.yml @@ -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 diff --git a/.github/workflows/matlab-ci.yml b/.github/workflows/matlab-ci.yml index 01887d9..43ba94c 100644 --- a/.github/workflows/matlab-ci.yml +++ b/.github/workflows/matlab-ci.yml @@ -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