mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-24 04:12:20 +08:00
update flutter-ci && restore crate-type
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
275da850ff
commit
aeed94bb96
6
.github/workflows/flutter-ci.yml
vendored
6
.github/workflows/flutter-ci.yml
vendored
@ -593,7 +593,7 @@ jobs:
|
|||||||
x86_64)
|
x86_64)
|
||||||
# no need mock on x86_64
|
# no need mock on x86_64
|
||||||
export VCPKG_ROOT=/opt/artifacts/vcpkg
|
export VCPKG_ROOT=/opt/artifacts/vcpkg
|
||||||
cargo build --lib --features hwcodec,flutter,${{ matrix.job.extra-build-features }} --release
|
cargo build --lib --features hwcodec,flutter,flutter_texture_render,${{ matrix.job.extra-build-features }} --release
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -761,7 +761,7 @@ jobs:
|
|||||||
ln -s /usr/include /vcpkg/installed/arm64-linux/include
|
ln -s /usr/include /vcpkg/installed/arm64-linux/include
|
||||||
export VCPKG_ROOT=/vcpkg
|
export VCPKG_ROOT=/vcpkg
|
||||||
# disable hwcodec for compilation
|
# disable hwcodec for compilation
|
||||||
cargo build --lib --features flutter,${{ matrix.job.extra-build-features }} --release
|
cargo build --lib --features flutter,flutter_texture_render,${{ matrix.job.extra-build-features }} --release
|
||||||
;;
|
;;
|
||||||
armv7)
|
armv7)
|
||||||
cp -r /opt/artifacts/vcpkg/installed/lib/* /usr/lib/arm-linux-gnueabihf/
|
cp -r /opt/artifacts/vcpkg/installed/lib/* /usr/lib/arm-linux-gnueabihf/
|
||||||
@ -771,7 +771,7 @@ jobs:
|
|||||||
ln -s /usr/include /vcpkg/installed/arm-linux/include
|
ln -s /usr/include /vcpkg/installed/arm-linux/include
|
||||||
export VCPKG_ROOT=/vcpkg
|
export VCPKG_ROOT=/vcpkg
|
||||||
# disable hwcodec for compilation
|
# disable hwcodec for compilation
|
||||||
cargo build --lib --features flutter,${{ matrix.job.extra-build-features }} --release
|
cargo build --lib --features flutter,flutter_texture_render,${{ matrix.job.extra-build-features }} --release
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ default-run = "rustdesk"
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "librustdesk"
|
name = "librustdesk"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib", "staticlib", "rlib"]
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "naming"
|
name = "naming"
|
||||||
|
Loading…
Reference in New Issue
Block a user