CI updates
This commit is contained in:
parent
17eff0aed4
commit
b5ed0a637b
@ -15,7 +15,7 @@ jobs:
|
|||||||
job-alpinelinux-clang-static: # uses cmake + make
|
job-alpinelinux-clang-static: # uses cmake + make
|
||||||
if: true
|
if: true
|
||||||
strategy: { matrix: { container: ['alpine:edge','i386/alpine:edge'] } }
|
strategy: { matrix: { container: ['alpine:edge','i386/alpine:edge'] } }
|
||||||
name: ${{ format('clang {0}', matrix.container) }}
|
name: ${{ format('clang-static {0}', matrix.container) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
steps:
|
steps:
|
||||||
@ -42,7 +42,7 @@ jobs:
|
|||||||
job-alpinelinux-gcc-static: # uses cmake + make
|
job-alpinelinux-gcc-static: # uses cmake + make
|
||||||
if: true
|
if: true
|
||||||
strategy: { matrix: { container: ['alpine:edge','i386/alpine:edge'] } }
|
strategy: { matrix: { container: ['alpine:edge','i386/alpine:edge'] } }
|
||||||
name: ${{ format('gcc {0}', matrix.container) }}
|
name: ${{ format('gcc-static {0}', matrix.container) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
16
.github/workflows/test-minimal-chimeralinux.yml
vendored
16
.github/workflows/test-minimal-chimeralinux.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
# Copyright (C) Markus Franz Xaver Johannes Oberhumer
|
# Copyright (C) Markus Franz Xaver Johannes Oberhumer
|
||||||
# test minimal number of packages required for building UPX under Chimera Linux
|
# test minimal number of packages required for building UPX under Chimera Linux
|
||||||
# clang: apk add clang cmake curl gmake gtar
|
# clang: apk add bsdtar clang cmake curl gmake
|
||||||
#
|
#
|
||||||
|
|
||||||
name: 'Test - Minimal Chimera build'
|
name: 'Test - Minimal Chimera build'
|
||||||
@ -21,8 +21,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: ${{ format('Build clang {0}', matrix.container) }}
|
- name: ${{ format('Build clang {0}', matrix.container) }}
|
||||||
run: |
|
run: |
|
||||||
apk update && apk upgrade && apk add clang cmake curl gmake gtar
|
apk update && apk upgrade && apk add bsdtar clang cmake curl gmake
|
||||||
for p in make tar; do ln -s -v ../../bin/g$p /usr/local/bin/$p; done
|
for p in make; do ln -s -v ../../bin/g$p /usr/local/bin/$p; done
|
||||||
curl -OL https://github.com/upx/upx/releases/download/v4.2.1/upx-4.2.1-src.tar.xz
|
curl -OL https://github.com/upx/upx/releases/download/v4.2.1/upx-4.2.1-src.tar.xz
|
||||||
tar -xoaf upx-*-src.tar.xz
|
tar -xoaf upx-*-src.tar.xz
|
||||||
cd upx-*-src
|
cd upx-*-src
|
||||||
@ -43,16 +43,16 @@ jobs:
|
|||||||
job-chimeralinux-clang-static: # uses cmake + make
|
job-chimeralinux-clang-static: # uses cmake + make
|
||||||
if: true
|
if: true
|
||||||
strategy: { matrix: { container: ['chimeralinux/chimera:latest'] } }
|
strategy: { matrix: { container: ['chimeralinux/chimera:latest'] } }
|
||||||
name: ${{ format('clang {0}', matrix.container) }}
|
name: ${{ format('clang-static {0}', matrix.container) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
steps:
|
steps:
|
||||||
- name: ${{ format('Build clang {0}', matrix.container) }}
|
- name: ${{ format('Build clang {0}', matrix.container) }}
|
||||||
run: |
|
run: |
|
||||||
apk update && apk upgrade && apk add clang cmake curl gmake gtar
|
apk update && apk upgrade && apk add bsdtar clang cmake curl gmake
|
||||||
for p in make tar; do ln -s -v ../../bin/g$p /usr/local/bin/$p; done
|
for p in make; do ln -s -v ../../bin/g$p /usr/local/bin/$p; done
|
||||||
# install -static packages
|
# install devel-static packages
|
||||||
apk add libcxx-devel-static musl-devel-static
|
apk add libatomic-chimera-devel-static libcxx-devel-static musl-devel-static
|
||||||
curl -OL https://github.com/upx/upx/releases/download/v4.2.1/upx-4.2.1-src.tar.xz
|
curl -OL https://github.com/upx/upx/releases/download/v4.2.1/upx-4.2.1-src.tar.xz
|
||||||
tar -xoaf upx-*-src.tar.xz
|
tar -xoaf upx-*-src.tar.xz
|
||||||
cd upx-*-src
|
cd upx-*-src
|
||||||
|
|||||||
20
.github/workflows/weekly-ci-cc-alpine-mingw.yml
vendored
20
.github/workflows/weekly-ci-cc-alpine-mingw.yml
vendored
@ -155,7 +155,7 @@ jobs:
|
|||||||
cd build/extra/cross-windows-mingw64/debug
|
cd build/extra/cross-windows-mingw64/debug
|
||||||
[[ -f upx && ! -f upx.exe ]] && mv -i -v upx upx.exe
|
[[ -f upx && ! -f upx.exe ]] && mv -i -v upx upx.exe
|
||||||
pwd; file ./upx.exe
|
pwd; file ./upx.exe
|
||||||
wine=wine64
|
wine=wine
|
||||||
tt='./upx.exe'
|
tt='./upx.exe'
|
||||||
$wine ./upx.exe --version-short
|
$wine ./upx.exe --version-short
|
||||||
$wine ./upx.exe --sysinfo -v
|
$wine ./upx.exe --sysinfo -v
|
||||||
@ -174,7 +174,7 @@ jobs:
|
|||||||
cd build/extra/cross-windows-mingw64/release
|
cd build/extra/cross-windows-mingw64/release
|
||||||
[[ -f upx && ! -f upx.exe ]] && mv -i -v upx upx.exe
|
[[ -f upx && ! -f upx.exe ]] && mv -i -v upx upx.exe
|
||||||
pwd; file ./upx.exe
|
pwd; file ./upx.exe
|
||||||
wine=wine64
|
wine=wine
|
||||||
tt='./upx.exe'
|
tt='./upx.exe'
|
||||||
$wine ./upx.exe --version-short
|
$wine ./upx.exe --version-short
|
||||||
$wine ./upx.exe --sysinfo -v
|
$wine ./upx.exe --sysinfo -v
|
||||||
@ -200,3 +200,19 @@ jobs:
|
|||||||
- name: 'Run ctest tests under Wine - mingw64/release'
|
- name: 'Run ctest tests under Wine - mingw64/release'
|
||||||
if: ${{ matrix.wine }}
|
if: ${{ matrix.wine }}
|
||||||
run: 'make -C build/extra/cross-windows-mingw64/release test'
|
run: 'make -C build/extra/cross-windows-mingw64/release test'
|
||||||
|
|
||||||
|
- name: 'Mimic ctest tests under Wine - mingw32/debug'
|
||||||
|
if: ${{ matrix.wine && matrix.i686_mingw }}
|
||||||
|
run: 'env -C build/extra/cross-windows-mingw32/debug upx_exe=./upx.exe upx_exe_runner=wine bash "$PWD"/misc/testsuite/mimic_ctest.sh'
|
||||||
|
|
||||||
|
- name: 'Mimic ctest tests under Wine - mingw32/release'
|
||||||
|
if: ${{ matrix.wine && matrix.i686_mingw }}
|
||||||
|
run: 'env -C build/extra/cross-windows-mingw32/release upx_exe=./upx.exe upx_exe_runner=wine bash "$PWD"/misc/testsuite/mimic_ctest.sh'
|
||||||
|
|
||||||
|
- name: 'Mimic ctest tests under Wine - mingw64/debug'
|
||||||
|
if: ${{ matrix.wine }}
|
||||||
|
run: 'env -C build/extra/cross-windows-mingw64/debug upx_exe=./upx.exe upx_exe_runner=wine bash "$PWD"/misc/testsuite/mimic_ctest.sh'
|
||||||
|
|
||||||
|
- name: 'Mimic ctest tests under Wine - mingw64/release'
|
||||||
|
if: ${{ matrix.wine }}
|
||||||
|
run: 'env -C build/extra/cross-windows-mingw64/release upx_exe=./upx.exe upx_exe_runner=wine bash "$PWD"/misc/testsuite/mimic_ctest.sh'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user