ci: Add macOS build workflow #1
Workflow file for this run
This file contains hidden or 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: build | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Show toolchain | |
| run: swift --version | |
| - name: Build .app bundle | |
| run: make build | |
| - name: Verify bundle | |
| run: | | |
| test -x build/TermIMS.app/Contents/MacOS/TermIMS | |
| test -f build/TermIMS.app/Contents/Info.plist | |
| plutil -lint build/TermIMS.app/Contents/Info.plist | |
| codesign --verify --verbose=2 build/TermIMS.app |