From 05c7c51e9c7780dc1b2fcbd29a933d5a779d3605 Mon Sep 17 00:00:00 2001 From: Cedric Vidal Date: Fri, 6 Oct 2023 17:53:29 +0000 Subject: [PATCH] List of runner OSes on multiple lines for clarity + comments --- .github/workflows/cli-continuous-integration.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cli-continuous-integration.yml b/.github/workflows/cli-continuous-integration.yml index 1492c926..a076d164 100644 --- a/.github/workflows/cli-continuous-integration.yml +++ b/.github/workflows/cli-continuous-integration.yml @@ -46,7 +46,11 @@ jobs: strategy: matrix: jdk-version: ['21'] - os: [ubuntu-22.04, macos-latest, macos-latest-xlarge, windows-latest] + os: + - ubuntu-22.04 + - macos-latest # Intel x64 + - macos-latest-xlarge # Apple Silicon arm64 + - windows-latest steps: - name: Download application package uses: actions/download-artifact@v3 @@ -60,12 +64,12 @@ jobs: - name: Build native image on Linux run: native-image --enable-url-protocols=https --static -jar nubesgen-cli-*.jar nubesgen-cli-linux if: runner.os == 'Linux' - - name: Build native image on Mac OS X (arm64) - run: native-image --enable-url-protocols=https -jar nubesgen-cli-*.jar nubesgen-cli-macos-arm64 - if: runner.os == 'macOS' && runner.arch == 'ARM64' - - name: Build native image on Mac OS X (x64) + - name: Build native image on Mac OS X (Intel x64) run: native-image --enable-url-protocols=https -jar nubesgen-cli-*.jar nubesgen-cli-macos if: runner.os == 'macOS' && runner.arch == 'X64' + - name: Build native image on Mac OS X (Apple Silicon arm64) + run: native-image --enable-url-protocols=https -jar nubesgen-cli-*.jar nubesgen-cli-macos-arm64 + if: runner.os == 'macOS' && runner.arch == 'ARM64' - name: Build native image on Windows run: native-image --enable-url-protocols=https -jar nubesgen-cli-*.jar nubesgen-cli-windows if: runner.os == 'Windows'