Version bump #27
This file contains 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: iBoot64Patcher | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 1 1 *' | |
- cron: '0 0 1 4 *' | |
- cron: '0 0 30 6 *' | |
- cron: '0 0 28 9 *' | |
- cron: '0 0 27 12 *' | |
jobs: | |
macOS: | |
env: | |
PROCURSUS: /opt/procursus | |
PATH: /opt/procursus/bin:/opt/procursus/libexec/gnubin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Users/runner/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools:/Users/runner/.ghcup/bin:/Users/runner/hostedtoolcache/stack/2.7.3/x64 | |
runs-on: macos-12 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
fetch-depth: 0 | |
- name: Update Xcode | |
id: Update-Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '14.1.0' | |
- name: macOS Build | |
id: macOS-Build | |
run: | | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/mac-bootstrap.sh | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/mac-build.sh | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/mac-post.sh | |
- name: Versioning | |
id: Versioning | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Versioning | |
path: | | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/latest_build_sha.txt | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/latest_build_num.txt | |
- name: macOS x86_64 RELEASE Archive | |
id: macOS-x86_64-RELEASE-Archive | |
uses: actions/upload-artifact@v2 | |
with: | |
name: iBoot64Patcher-macOS-x86_64-RELEASE | |
path: | | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/iBoot64Patcher-macOS-x86_64-*-RELEASE.tar.xz | |
- name: macOS x86_64 DEBUG Archive | |
id: macOS-x86_64-DEBUG-Archive | |
uses: actions/upload-artifact@v2 | |
with: | |
name: iBoot64Patcher-macOS-x86_64-DEBUG | |
path: | | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/iBoot64Patcher-macOS-x86_64-*-DEBUG.tar.xz | |
- name: macOS arm64 RELEASE Archive | |
id: macOS-arm64-RELEASE-Archive | |
uses: actions/upload-artifact@v2 | |
with: | |
name: iBoot64Patcher-macOS-arm64-RELEASE | |
path: | | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/iBoot64Patcher-macOS-arm64-*-RELEASE.tar.xz | |
- name: macOS arm64 DEBUG Archive | |
id: macOS-arm64-DEBUG-Archive | |
uses: actions/upload-artifact@v2 | |
with: | |
name: iBoot64Patcher-macOS-arm64-DEBUG | |
path: | | |
/Users/runner/work/iBoot64Patcher/iBoot64Patcher/iBoot64Patcher-macOS-arm64-*-DEBUG.tar.xz | |
Linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: 'true' | |
fetch-depth: 0 | |
- name: Linux Build | |
id: Linux | |
uses: addnab/docker-run-action@v3 | |
with: | |
image: debian:buster-slim | |
options: -v ${{ github.workspace }}/..:/tmp/Builder/repos/ | |
run: | | |
/tmp/Builder/repos/iBoot64Patcher/.github/workflows/linux-bootstrap.sh | |
/tmp/Builder/repos/iBoot64Patcher/.github/workflows/linux-build.sh | |
/tmp/Builder/repos/iBoot64Patcher/.github/workflows/linux-post.sh | |
- name: Linux x86_64 RELEASE Build | |
run: | | |
mkdir -p /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/ | |
docker cp $(docker ps -ql):/tmp/Builder/repos/iBoot64Patcher/.github/workflows/name1.txt /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/ | |
docker cp $(docker ps -ql):/tmp/Builder/repos/iBoot64Patcher/.github/workflows/iBoot64Patcher1.tar.xz /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/ | |
mv /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/iBoot64Patcher1.tar.xz /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/$(cat /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/name1.txt) | |
- name: Linux x86_64 DEBUG Build | |
run: | | |
mkdir -p /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/ | |
docker cp $(docker ps -ql):/tmp/Builder/repos/iBoot64Patcher/.github/workflows/name2.txt /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/ | |
docker cp $(docker ps -ql):/tmp/Builder/repos/iBoot64Patcher/.github/workflows/iBoot64Patcher2.tar.xz /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/ | |
mv /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/iBoot64Patcher2.tar.xz /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/$(cat /home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/name2.txt) | |
- name: iBoot64Patcher Linux x86_64 RELEASE Archive | |
id: iBoot64Patcher-Linux-x86_64-RELEASE-Archive | |
uses: actions/upload-artifact@v2 | |
with: | |
name: iBoot64Patcher-Linux-x86_64-RELEASE | |
path: | | |
/home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/iBoot64Patcher-Linux-x86_64*-RELEASE.tar.xz | |
- name: iBoot64Patcher Linux x86_64 DEBUG Archive | |
id: iBoot64Patcher-Linux-x86_64-DEBUG-Archive | |
uses: actions/upload-artifact@v2 | |
with: | |
name: iBoot64Patcher-Linux-x86_64-DEBUG | |
path: | | |
/home/runner/work/iBoot64Patcher/iBoot64Patcher/.github/workflows/iBoot64Patcher-Linux-x86_64*-DEBUG.tar.xz |