CI updates
This commit is contained in:
@@ -558,7 +558,6 @@ jobs:
|
||||
ls -la; head zig-ar zig-cc zig-cxx zig-ranlib
|
||||
# update ZIG_TARGET
|
||||
ZIG_TARGET=${ZIG_TARGET/i386-/x86-} # i386 => x86
|
||||
ZIG_TARGET=${ZIG_TARGET/-muslsf/-musl} # muslsf => musl
|
||||
echo "ZIG_TARGET=$ZIG_TARGET" >> $GITHUB_ENV
|
||||
# -fPIE is for compilation only => also use the correct linker flag "-pie"
|
||||
# INFO: it seems the zig driver does handle this automatically(??), so not really needed
|
||||
@@ -582,7 +581,7 @@ jobs:
|
||||
- name: ${{ format('Build Debug with zig-cc -target {0} {1}', env.ZIG_TARGET, env.ZIG_PIC) }}
|
||||
run: |
|
||||
make UPX_XTARGET=zig/${ZIG_TARGET}${ZIG_PIC} xtarget/debug \
|
||||
CC="zig-cc" CXX="zig-cxx" CMAKE_AR="$HOME/.local/bin/zig-ar" CMAKE_RANLIB="$HOME/.local/bin/zig-ranlib"
|
||||
CC="zig-cc" CXX="zig-cxx" CMAKE_AR="$HOME/.local/bin/zig-ar" CMAKE_RANLIB="$HOME/.local/bin/zig-ranlib"
|
||||
file build/zig/${ZIG_TARGET}${ZIG_PIC}/debug/upx*
|
||||
- name: ${{ format('Make artifact from upx-{0}-{1}', github.ref_name, env.UPX_GITREV_SHORT) }}
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user