chore: inject team id with dev.yml #164
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: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| spm-tests: | |
| name: SPM Package Tests | |
| # Temporarily disabled | |
| if: false | |
| runs-on: macos-26 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Test MeshCore | |
| run: swift test --package-path MeshCore | |
| - name: Test MC1Services | |
| run: swift test --package-path MC1Services | |
| xcode-build: | |
| name: Xcode Build | |
| runs-on: macos-26 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| brew install make | |
| echo "$(brew --prefix make)/libexec/gnubin" >> "$GITHUB_PATH" | |
| command -v xcodegen >/dev/null 2>&1 || brew install xcodegen | |
| command -v swiftgen >/dev/null 2>&1 || brew install swiftgen | |
| - name: Generate Xcode project | |
| run: make generate | |
| - name: Cache Xcode build | |
| uses: irgaly/xcode-cache@v1 | |
| with: | |
| key: xcode-deriveddata-${{ github.workflow }}-${{ github.sha }} | |
| restore-keys: | | |
| xcode-deriveddata-${{ github.workflow }}- | |
| deriveddata-directory: .derivedData | |
| delete-used-deriveddata-cache: true | |
| - name: Build | |
| run: | | |
| xcodebuild build \ | |
| -project MC1.xcodeproj \ | |
| -scheme MC1 \ | |
| -destination "generic/platform=iOS Simulator" \ | |
| -derivedDataPath .derivedData \ | |
| CODE_SIGN_IDENTITY="-" \ | |
| CODE_SIGNING_REQUIRED=NO \ | |
| CODE_SIGNING_ALLOWED=NO \ | |
| COMPILER_INDEX_STORE_ENABLE=NO |