Skip to content

Commit 41cb17d

Browse files
authored
GitHub Actions: Add python-setup to build
1 parent ce3979e commit 41cb17d

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
name: build
2-
32
on:
43
push:
54
branches:
65
- main
76
pull_request:
8-
97
jobs:
108
build:
119
runs-on: macos-latest
1210
steps:
13-
- name: Checkout code
14-
uses: actions/checkout@v4
15-
16-
- name: Set up Xcode
17-
run: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
18-
19-
- name: Install dependencies
20-
run: ./setup.sh
21-
22-
- name: Build
23-
run: xcodebuild -workspace Pyto.xcworkspace -scheme Pyto -configuration Release
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v5
13+
with:
14+
python-version: 3.x
15+
- run: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
16+
- run: ./setup.sh
17+
- run: xcodebuild -workspace Pyto.xcworkspace -scheme Pyto -configuration Release

0 commit comments

Comments
 (0)