From 57fac4b34da0653ad126bc60174f09ab41f2f895 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 25 Apr 2024 12:51:48 +0300 Subject: [PATCH] Update test-arm64.yml to support multiple macOS versions --- .github/workflows/test-arm64.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test-arm64.yml b/.github/workflows/test-arm64.yml index 7160c67..25bb404 100644 --- a/.github/workflows/test-arm64.yml +++ b/.github/workflows/test-arm64.yml @@ -9,25 +9,21 @@ permissions: jobs: build: - runs-on: macos-14 + strategy: + matrix: + os: [ubuntu-22.04, macos-10.15, macos-11, macos-12, macos-13, macos-14] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v2 - with: - java-version: '17' - distribution: 'adopt' - - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@master - - name: Set up git - uses: Homebrew/actions/git-user-config@master - - name: Install Formula - run: brew install ncurses + run: | + brew install ncurses + brew doctor - name: Install Kotlin uses: sdkman/sdkman-action@master