mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 14:36:16 +01:00
Don't build C examples on Windows
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -207,7 +207,7 @@ jobs:
|
|||||||
restore-keys: windows-cargo-
|
restore-keys: windows-cargo-
|
||||||
|
|
||||||
- name: Build Rust and examples/tools
|
- name: Build Rust and examples/tools
|
||||||
run: just ci-check
|
run: just windows-ci-check
|
||||||
|
|
||||||
- name: Upload static library
|
- name: Upload static library
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -215,12 +215,6 @@ jobs:
|
|||||||
name: libidevice-windows-a
|
name: libidevice-windows-a
|
||||||
path: target\release\idevice_ffi.lib
|
path: target\release\idevice_ffi.lib
|
||||||
|
|
||||||
- name: Upload C examples/tools
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: idevice-c-examples-windows
|
|
||||||
path: ffi\examples\build\bin\*
|
|
||||||
|
|
||||||
- name: Upload C++ examples/tools
|
- name: Upload C++ examples/tools
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
1
justfile
1
justfile
@@ -7,6 +7,7 @@ ci-check: build-ffi-native build-tools-native build-cpp build-c
|
|||||||
cargo clippy --all-targets --all-features -- -D warnings
|
cargo clippy --all-targets --all-features -- -D warnings
|
||||||
macos-ci-check: ci-check xcframework
|
macos-ci-check: ci-check xcframework
|
||||||
cd tools && cargo build --release --target x86_64-apple-darwin
|
cd tools && cargo build --release --target x86_64-apple-darwin
|
||||||
|
windows-ci-check: build-ffi-native build-tools-native build-cpp
|
||||||
|
|
||||||
[working-directory: 'ffi']
|
[working-directory: 'ffi']
|
||||||
build-ffi-native:
|
build-ffi-native:
|
||||||
|
|||||||
Reference in New Issue
Block a user