diff --git a/workflow b/workflow new file mode 100644 index 000000000..7a8019383 --- /dev/null +++ b/workflow @@ -0,0 +1,23 @@ +name: Build Pyto + +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