Skip to content

Commit 0682b35

Browse files
committed
Remove setup-swift
1 parent bb8b9fb commit 0682b35

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/build_and_test.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,22 @@ jobs:
4040
config: .github/.licenserc.yaml
4141

4242
build:
43-
runs-on: ${{ matrix.os }}
44-
strategy:
45-
fail-fast: false
46-
matrix:
47-
os:
48-
- ubuntu-latest
49-
- macos-15
43+
runs-on: macos-15
5044
steps:
5145
- uses: actions/checkout@v4
52-
- uses: swift-actions/setup-swift@d10500c1ac8822132eebbd74c48c3372c71d7ff5
53-
with:
54-
swift-version: "6.1"
5546
- name: Build
56-
run: swift build -v
47+
run: |
48+
docker run swift:6.1 uname -a
49+
docker run -v $PWD:/orc -w /orc swift:6.1 swift build -v
50+
51+
build-ubuntu-latest:
52+
runs-on: ubuntu-latest
53+
steps:
54+
- uses: actions/checkout@v4
55+
- name: Build
56+
run: |
57+
docker run swift:6.1 uname -a
58+
docker run -v $PWD:/orc -w /orc swift:6.1 swift build -v
5759
5860
# setup-swift doesn't support ARM linux yet.
5961
build-ubuntu-arm:

0 commit comments

Comments
 (0)