Skip to content

Commit

Permalink
List of runner OSes on multiple lines for clarity + comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricvidal authored and jdubois committed Oct 6, 2023
1 parent fd442cc commit 05c7c51
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/cli-continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 05c7c51

Please sign in to comment.