Guard swift python import to apple devices. #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Swift (macOS arm64) | |
on: [push] | |
jobs: | |
build: | |
name: Swift ${{ matrix.swift }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-14] | |
swift: ["5.10"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: swift-actions/setup-swift@v2 | |
with: | |
swift-version: ${{ matrix.swift }} | |
- uses: actions/checkout@v4 | |
- name: 🗃️ Checkout Submodules | |
run: git submodule update --init --recursive | |
- name: 📦 Build | |
run: swift build -c release --target MetaversalDemo |