Skip to content

Commit 972e51b

Browse files
committed
resort to Swiftly to simplify locating swift dylib paths for samples
1 parent 6fca8b4 commit 972e51b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/scripts/prep-gh-action.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# This script is reused from Swiftly itself, see:
4+
# https://github.com/swiftlang/swiftly/blob/main/scripts/prep-gh-action.sh
5+
#
36
# This script does a bit of extra preparation of the docker containers used to run the GitHub workflows
47
# that are specific to this project's needs when building/testing. Note that this script runs on
58
# every supported Linux distribution and macOS so it must adapt to the distribution that it is running.

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ jobs:
142142
- uses: actions/checkout@v4
143143
- name: Prepare CI Environment
144144
uses: ./.github/actions/prepare_env
145+
- name: Prepare the action
146+
run: ./scripts/prep-gh-action.sh --install-swiftly
145147
- name: "Verify sample: ${{ matrix.sample_app }}"
146148
run: .github/scripts/validate_sample.sh Samples/${{ matrix.sample_app }}
147149

0 commit comments

Comments
 (0)