mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-30 13:47:59 +03:00
build: fix GH jobs
This commit is contained in:
parent
a38bd83dbd
commit
0da996864c
6 changed files with 11 additions and 11 deletions
|
@ -20,7 +20,7 @@ RUN apt-get update \
|
|||
|
||||
|
||||
# libav
|
||||
FROM base as libav
|
||||
FROM base AS libav
|
||||
RUN apt-get install -y \
|
||||
nasm \
|
||||
gcc \
|
||||
|
@ -68,7 +68,7 @@ RUN cd FFmpeg \
|
|||
|
||||
|
||||
# SDL
|
||||
FROM base as sdl
|
||||
FROM base AS sdl
|
||||
RUN git clone https://github.com/libsdl-org/SDL -b SDL2
|
||||
RUN apt-get install -y \
|
||||
libgl1-mesa-dev \
|
||||
|
|
|
@ -11,8 +11,8 @@ fi
|
|||
cd /app/build/linux; meson compile
|
||||
|
||||
if [ "$TARGET" = release ]; then
|
||||
for file in Tomb1Main; do
|
||||
upx -t "$file" || ( strip "$file" && upx "$file" )
|
||||
done
|
||||
exe_file=Tomb1Main
|
||||
if ! upx -t "$exe_file"; then
|
||||
strip "$exe_file" && upx "$exe_file"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue