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

This commit is contained in:
Lucas Schwiderski 2023-11-08 10:50:42 +01:00
parent fc759c005d
commit afe4e82c47
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8
3 changed files with 4 additions and 4 deletions

View file

@ -21,4 +21,4 @@ RUN set -eux; \
WORKDIR /src/dtmt
COPY liboo2corelinux64.so /src
COPY *.so *.a /src/

View file

@ -86,4 +86,4 @@ RUN wine wineboot --init
WORKDIR /src/dtmt
COPY oo2core_win32.lib oo2core_win64.lib /src
COPY *.lib /src

View file

@ -4,7 +4,7 @@ set -eux
case "$TARGET" in
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
if [ -d "$OUTPUT" ]; then
@ -13,7 +13,7 @@ case "$TARGET" in
fi
;;
linux)
cp /src/*.so ./lib/oodle/
cp /src/*.a ./lib/oodle/
cargo build --color always --locked --profile release-lto
if [ -d "$OUTPUT" ]; then