rework Makefile to not build on package so codesign can happen in bet… #59
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
| # This is a basic workflow to help you get started with Actions | |
| name: macos | |
| # Controls when the action will run. Triggers the workflow | |
| # on push or pull request events but only for the master branch | |
| on: | |
| push: | |
| branches: [ main] | |
| pull_request: | |
| branches: [ main ] | |
| release: | |
| types: [published] | |
| # A workflow run is made of jobs that can run sequentially or in parallel | |
| jobs: | |
| # This workflow contains a single job called "build" | |
| build: | |
| runs-on: macos-latest | |
| # Steps represent a sequence of tasks executed as part of the job | |
| steps: | |
| # Checks-out your repo under $GITHUB_WORKSPACE, so your job can access it | |
| - uses: actions/checkout@v4 | |
| - name: Check xcode version | |
| shell: bash | |
| run: xcodebuild -version | |
| - name: Compile blink1-tool | |
| shell: bash | |
| run: make | |
| - name: Compile blink1-tiny-server | |
| shell: bash | |
| run: make blink1-tiny-server | |
| - name: Compile blink1control-tool | |
| shell: bash | |
| run: make blink1control-tool | |
| # - name: Codesign tools | |
| # shell: bash | |
| # run: make codesign | |
| - name: Package blink1-tool | |
| shell: bash | |
| run: make package | |
| - name: Package blink1-tiny-server | |
| shell: bash | |
| run: make package-tiny-server | |
| - name: Package blink1control-tool | |
| shell: bash | |
| run: make package-blink1control-tool | |
| - name: Upload blink1-tool artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: blink1-tool-artifacts | |
| path: blink1*.zip | |
| #retention-days: 5 | |
| - name: Upload blink1-tiny-server artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: blink1-tiny-server-artifacts | |
| path: blink1-tiny-server*.zip | |
| #retention-days: 5 | |
| - name: Upload blink1control-tool artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: blink1control-tool-artifacts | |
| path: blink1control-tool*.zip | |
| #retention-days: 5 |