Fix: "An unknown error has occurred" FailureType 5002 #218
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: Dry Build | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build_windows: | |
| name: Build for Windows | |
| runs-on: macos-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| arch: [arm64, amd64] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25.0" | |
| cache: true | |
| - run: go build -o ipatool-$GOOS-$GOARCH.exe | |
| env: | |
| GOOS: windows | |
| GOARCH: ${{ matrix.arch }} | |
| build_linux: | |
| name: Build for Linux | |
| runs-on: ${{ matrix.runner }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - arch: arm64 | |
| runner: ubuntu-24.04-arm | |
| - arch: amd64 | |
| runner: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25.0" | |
| cache: true | |
| - run: go build -o ipatool-linux-$GOARCH | |
| env: | |
| GOARCH: ${{ matrix.arch }} | |
| build_macos: | |
| name: Build for macOS | |
| runs-on: macos-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| arch: [arm64, amd64] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25.0" | |
| cache: true | |
| - run: go build -o ipatool-$GOOS-$GOARCH | |
| env: | |
| GOOS: darwin | |
| GOARCH: ${{ matrix.arch }} | |
| CGO_ENABLED: 1 | |
| CGO_CFLAGS: -mmacosx-version-min=10.15 | |
| CGO_LDFLAGS: -mmacosx-version-min=10.15 |