Skip to content

Commit 03e93e6

Browse files
authored
Different way to run macos test
1 parent 1332980 commit 03e93e6

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/workflows/pull_request.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,24 @@ jobs:
3939
- name: Gradle compile JMH benchmarks
4040
run: ./gradlew compileJmh --info
4141

42-
macos-tests:
43-
name: macOS tests
44-
# Workaround https://github.com/nektos/act/issues/1875
45-
uses: swiftlang/swift-java/.github/workflows/macos_tests.yml@wip-macos-ci
46-
with:
47-
build_scheme: SwiftJava-Package
42+
# macos-tests:
43+
# name: macOS tests
44+
# # Workaround https://github.com/nektos/act/issues/1875
45+
# uses: swiftlang/swift-java/.github/workflows/macos_tests.yml@wip-macos-ci
46+
# with:
47+
# build_scheme: SwiftJava-Package
48+
49+
macos-tests-selfhosted:
50+
name: Swift tests (macOS Sequoia ARM64)
51+
runs-on: [self-hosted, macos, sequoia, ARM64]
52+
strategy:
53+
fail-fast: false
54+
steps:
55+
- name: Checkout repository
56+
uses: actions/checkout@v4
57+
- name: Build and Test
58+
run: swift test
59+
timeout-minutes: 20
4860

4961
test-swift:
5062
name: Swift tests (swift:${{ matrix.swift_version }} jdk:${{matrix.jdk_vendor}} os:${{ matrix.os_version }})

0 commit comments

Comments
 (0)