ci: Copy the correct library files
Some checks failed
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Some checks failed
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
This commit is contained in:
parent
fc759c005d
commit
afe4e82c47
3 changed files with 4 additions and 4 deletions
|
@ -21,4 +21,4 @@ RUN set -eux; \
|
||||||
|
|
||||||
WORKDIR /src/dtmt
|
WORKDIR /src/dtmt
|
||||||
|
|
||||||
COPY liboo2corelinux64.so /src
|
COPY *.so *.a /src/
|
||||||
|
|
|
@ -86,4 +86,4 @@ RUN wine wineboot --init
|
||||||
|
|
||||||
WORKDIR /src/dtmt
|
WORKDIR /src/dtmt
|
||||||
|
|
||||||
COPY oo2core_win32.lib oo2core_win64.lib /src
|
COPY *.lib /src
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -eux
|
||||||
|
|
||||||
case "$TARGET" in
|
case "$TARGET" in
|
||||||
msvc)
|
msvc)
|
||||||
cp /src/*.lib /src/*.so ./lib/oodle/
|
cp /src/*.lib ./lib/oodle/
|
||||||
cargo build --color always --locked --release --target x86_64-pc-windows-msvc -Zbuild-std
|
cargo build --color always --locked --release --target x86_64-pc-windows-msvc -Zbuild-std
|
||||||
|
|
||||||
if [ -d "$OUTPUT" ]; then
|
if [ -d "$OUTPUT" ]; then
|
||||||
|
@ -13,7 +13,7 @@ case "$TARGET" in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
linux)
|
linux)
|
||||||
cp /src/*.so ./lib/oodle/
|
cp /src/*.a ./lib/oodle/
|
||||||
cargo build --color always --locked --profile release-lto
|
cargo build --color always --locked --profile release-lto
|
||||||
|
|
||||||
if [ -d "$OUTPUT" ]; then
|
if [ -d "$OUTPUT" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue