mirror of
https://github.com/upx/upx.git
synced 2024-11-23 20:59:55 +00:00
CI updates
This commit is contained in:
parent
d7142312c9
commit
a5c32db01b
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -307,8 +307,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --depth=1 https://github.com/upx/upx-testsuite ../deps/upx-testsuite
|
git clone --depth=1 https://github.com/upx/upx-testsuite ../deps/upx-testsuite
|
||||||
mkdir -p -v build/$C/$B/{bzip2,ucl,upx,zlib,zstd}
|
mkdir -p -v build/$C/$B/{bzip2,ucl,upx,zlib,zstd}
|
||||||
repo_name="${GITHUB_REPOSITORY##*/}" # basename
|
repository_name="${GITHUB_REPOSITORY##*/}" # basename
|
||||||
echo "H=d:\\a\\$repo_name\\$repo_name" >> $GITHUB_ENV
|
echo "H=d:\\a\\$repository_name\\$repository_name" >> $GITHUB_ENV
|
||||||
- name: 'Set up Developer Command Prompt'
|
- name: 'Set up Developer Command Prompt'
|
||||||
uses: ilammy/msvc-dev-cmd@cec98b9d092141f74527d0afa6feb2af698cfe89 # v1.12.1
|
uses: ilammy/msvc-dev-cmd@cec98b9d092141f74527d0afa6feb2af698cfe89 # v1.12.1
|
||||||
with:
|
with:
|
||||||
|
@ -18,7 +18,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
job-close-inactive-issues:
|
job-close-inactive-issues:
|
||||||
if: github.repository_owner == 'upx'
|
if: github.repository_owner == 'upx' && github.repository == 'upx/upx'
|
||||||
name: 'Close inactive issues'
|
name: 'Close inactive issues'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -5,7 +5,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
job-close-pull-requests:
|
job-close-pull-requests:
|
||||||
if: github.repository_owner == 'upx'
|
if: github.repository_owner == 'upx' && github.repository == 'upx/upx'
|
||||||
name: 'Close pull requests'
|
name: 'Close pull requests'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -40,7 +40,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CC: ${{ matrix.cc }} ${{ matrix.xflags }}
|
CC: ${{ matrix.cc }} ${{ matrix.xflags }}
|
||||||
CXX: ${{ matrix.cxx }} ${{ matrix.xflags }}
|
CXX: ${{ matrix.cxx }} ${{ matrix.xflags }}
|
||||||
name: ${{ format('{0} {1} {2}', matrix.cc, matrix.vsversion, matrix.arch) }}
|
name: ${{ format('{0} {1} {2} {3}', matrix.cc, matrix.vsversion, matrix.arch, matrix.os) }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- run: git config --global core.autocrlf false
|
- run: git config --global core.autocrlf false
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CC: ${{ matrix.cc }} ${{ matrix.xflags }}
|
CC: ${{ matrix.cc }} ${{ matrix.xflags }}
|
||||||
CXX: ${{ matrix.cxx }} ${{ matrix.xflags }}
|
CXX: ${{ matrix.cxx }} ${{ matrix.xflags }}
|
||||||
name: ${{ format('{0} {1} {2}', matrix.cc, matrix.vsversion, matrix.arch) }}
|
name: ${{ format('{0} {1} {2} {3}', matrix.cc, matrix.vsversion, matrix.arch, matrix.os) }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- run: git config --global core.autocrlf false
|
- run: git config --global core.autocrlf false
|
||||||
|
Loading…
Reference in New Issue
Block a user