forked from blacktop/ipsw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
36 lines (30 loc) · 1.17 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# appveyor.yml
build: off
clone_folder: c:\gopath\src\github.com\blacktop\ipsw
shallow_clone: true
environment:
GOPATH: c:\gopath
CGO_ENABLED: 0
# CC: gcc.exe
# GO_LDFLAGS: -LC:/Program Files/lzfse/lib -llzfse
PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
stack: go 1.13
install:
# - git clone https://github.com/lzfse/lzfse.git
# - cd lzfse
# - mkdir build
# - cd build
# - cmake -G "Visual Studio 14 2015 Win64" ..
# - cmake --help
# - cmake --build . --config Debug
# - cmake --install . --config Debug
# - cd Debug
# - dlltool --def C:\gopath\src\github.com\blacktop\ipsw\hack\windows\lzfse.def --dllname lzfse.dll --output-lib lzfse.a
# - dir C:\gopath\src\github.com\blacktop\ipsw\lzfse\build\Debug
- go build -ldflags "-linkmode external -extldflags -static" github.com/blacktop/ipsw/cmd/ipsw
test_script:
- ipsw.exe device-list
- ipsw.exe dtree -r https://updates.cdn-apple.com/2020WinterFCS/fullrestores/061-40459/74F04189-CC9F-4FE9-8CC5-6538B1A11951/iPhone11,2,iPhone11,4,iPhone11,6,iPhone12,3,iPhone12,5_13.3.1_17D50_Restore.ipsw
- ipsw.exe -V download kernel -v 13.3.1 -d iPhone12,3
# artifacts:
# - path: lzfse\build\Debug