diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..cac6ad8 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +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