From 9d7a152b50c914b96e040d8bc70cc3fbd4022699 Mon Sep 17 00:00:00 2001 From: Maarten Hazewinkel Date: Sat, 23 Mar 2024 19:04:21 +0100 Subject: [PATCH] Enable macArm64 CI testing (#501) --- .github/workflows/publish.yml | 4 +++- .github/workflows/test.yml | 4 +++- README.md | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 95ab6df3..2a74a41e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,10 +14,12 @@ jobs: if: github.repository == 'ajalt/clikt' strategy: matrix: - os: [ macos-latest, windows-latest, ubuntu-latest ] + os: [ macos-latest, macos-14, windows-latest, ubuntu-latest ] include: - os: macos-latest TEST_TASK: macosX64Test + - os: macos-14 + TEST_TASK: macosArm64Test - os: windows-latest TEST_TASK: mingwX64Test - os: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d292c5e..19dce0a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,10 +10,12 @@ jobs: test: strategy: matrix: - os: [ macos-latest, windows-latest, ubuntu-latest ] + os: [ macos-latest, macos-14, windows-latest, ubuntu-latest ] include: - os: macos-latest TEST_TASK: macosX64Test + - os: macos-14 + TEST_TASK: macosArm64Test - os: windows-latest TEST_TASK: mingwX64Test - os: ubuntu-latest diff --git a/README.md b/README.md index a1cc16fb..1ebc95a6 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,8 @@ dependencies { #### Multiplatform -Clikt supports the following targets: `jvm`, `mingwX64`, `linuxX64`, `macosX64`, and `js` (for both -Node.js and Browsers). Artifacts for macosArm64 are also published, but not tested with CI. [See the +Clikt supports the following targets: `jvm`, `mingwX64`, `linuxX64`, `macosX64`, `macosArm64'`, +and `js` (for both Node.js and Browsers). [See the docs](https://ajalt.github.io/clikt/advanced/#multiplatform-support) for more information about functionality supported on each target. You'll need to use Gradle 6 or newer.