Merge upstream updates to APA #5
Workflow file for this run
This file contains 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: Build x86_64 | |
on: [push, pull_request] | |
jobs: | |
build-x86_64: | |
runs-on: ${{ matrix.os }} | |
env: | |
IS_WINDOWS: ${{ toJSON(matrix.os == 'windows-latest') }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache sample-applications | |
uses: actions/cache@v3 | |
with: | |
enableCrossOsArchive: False | |
path: sample-applications | |
key: sample-applications | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: 'pip' | |
cache-dependency-path: | | |
**/requirements*.txt | |
- name: Set up Oracle JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'oracle' | |
cache: 'maven' | |
- name: Run build and tests on Linux/MacOS | |
if: ${{ !fromJSON(env.IS_WINDOWS) }} | |
run: | | |
./test.sh | |
- name: Run build and tests on Windows | |
if: ${{ fromJSON(env.IS_WINDOWS) }} | |
run: | | |
.\Test.ps1 |