From 70d683221b1be4c24f00298a661d8fc0f4a0a1c4 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Mon, 10 Mar 2025 20:29:19 +0000 Subject: [PATCH 1/2] Fix macos runs-on labels --- .github/workflows/lume.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lume.yml b/.github/workflows/lume.yml index b255209d..1c1271c4 100644 --- a/.github/workflows/lume.yml +++ b/.github/workflows/lume.yml @@ -14,15 +14,17 @@ concurrency: jobs: test: name: Test - runs-on: macos-15-arm64 + runs-on: macos-15 steps: - uses: actions/checkout@v4 + - run: uname -a - run: xcode-select -s /Applications/Xcode_16.app # Swift 6.0 - run: swift test build: name: Release build - runs-on: macos-15-arm64 + runs-on: macos-15 steps: - uses: actions/checkout@v4 + - run: uname -a - run: xcode-select -s /Applications/Xcode_16.app # Swift 6.0 - run: swift build --configuration release From 08f87c27c51b9a9a08449f345f4773d767ba234d Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Mon, 10 Mar 2025 20:33:55 +0000 Subject: [PATCH 2/2] Add sudo to xcode command --- .github/workflows/lume.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lume.yml b/.github/workflows/lume.yml index 1c1271c4..f1085645 100644 --- a/.github/workflows/lume.yml +++ b/.github/workflows/lume.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: uname -a - - run: xcode-select -s /Applications/Xcode_16.app # Swift 6.0 + - run: sudo xcode-select -s /Applications/Xcode_16.app # Swift 6.0 - run: swift test build: name: Release build @@ -26,5 +26,5 @@ jobs: steps: - uses: actions/checkout@v4 - run: uname -a - - run: xcode-select -s /Applications/Xcode_16.app # Swift 6.0 + - run: sudo xcode-select -s /Applications/Xcode_16.app # Swift 6.0 - run: swift build --configuration release