Skip to content

Commit

Permalink
GitHub Actions: Add python-setup to build
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Aug 15, 2024
1 parent ce3979e commit 41cb17d
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
name: build

on:
push:
branches:
- main
pull_request:

jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Xcode
run: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

- name: Install dependencies
run: ./setup.sh

- name: Build
run: xcodebuild -workspace Pyto.xcworkspace -scheme Pyto -configuration Release
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
- run: ./setup.sh
- run: xcodebuild -workspace Pyto.xcworkspace -scheme Pyto -configuration Release

0 comments on commit 41cb17d

Please sign in to comment.