mirror of
https://github.com/rememberber/MooTool.git
synced 2026-08-31 02:11:41 +08:00
30 lines
584 B
YAML
30 lines
584 B
YAML
name: macOS native preview
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
swift-package:
|
|
name: Swift package build and test
|
|
runs-on: macos-14
|
|
env:
|
|
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Print toolchain versions
|
|
run: |
|
|
xcodebuild -version
|
|
swift --version
|
|
|
|
- name: Build native preview
|
|
run: swift build --package-path macos
|
|
|
|
- name: Test native preview
|
|
run: swift test --package-path macos
|