WIP: debug on workflow #139
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: iOS Build | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| push: | |
| branches: | |
| - '**' | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.24.4' # Replace with your desired Flutter version | |
| channel: 'stable' # Or 'beta', 'dev' as needed | |
| - name: Install CocoaPods | |
| run: sudo gem install cocoapods | |
| - name: Setup Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| override: true | |
| - name: Cache Cargo | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Build mycelmob | |
| run: bash build-ios.sh | |
| working-directory: mycelmob | |
| - name: List mycelmob out directory for debug | |
| run: ls -lR out/iosframework | |
| working-directory: mycelmob | |
| - name: Install Flutter dependencies | |
| run: flutter pub get | |
| - run: flutter test | |
| - name: Build Flutter iOS app | |
| run: flutter build ios --release --no-codesign |