New directories for GitHub actions #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows Integration Tests | |
on: [push, pull_request] | |
env: | |
MAVEN_ARGS: -B -V -ntp -e -Djansi.passthrough=true -Dstyle.color=always | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 24 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '24' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build library | |
run: mvn $MAVEN_ARG install | |
working-directory: ./windowsapi-code-generator | |
- name: Build Maven plug-in | |
run: mvn $MAVEN_ARG install | |
working-directory: ./windowsapi-maven-plugin | |
- name: Windows API tests | |
run: mvn $MAVEN_ARG verify | |
working-directory: ./integration-tests/windows-api-tests |