25 - libboost iOS prebuilds #1
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 libboost iOS prebuilds" | |
| on: | |
| workflow_dispatch: | |
| concurrency: | |
| group: push-artifacts-group | |
| jobs: | |
| build-ios: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| fetch-depth: 1 | |
| submodules: recursive | |
| - name: Configure git | |
| run: | | |
| # Set git credentials | |
| git config --global user.name "${GITHUB_ACTOR}" | |
| git config --global user.email "${GITHUB_ACTOR}@zano.org" | |
| - name: Build | |
| run: | | |
| ./thirdparty/build-boost-ios.sh | |
| - name: Commit and push artifacts | |
| run: | | |
| # Fetch latest changes from remote | |
| echo "[INFO] Pulling latest changes from remote..." | |
| git pull | |
| # Commit if there are changes (even without changes) | |
| echo "[INFO] Commiting changes" | |
| git add . | |
| git commit --allow-empty -m "[AUTO] build libboost ios from ${{ github.sha }}" | |
| # Check if branch has upstream tracking | |
| echo "[INFO] Pushing changes" | |
| git push |