mirror of
https://github.com/facebook/zstd.git
synced 2025-11-25 23:43:06 +03:00
fix msys2 symlink breakage in CI (#3429)
This commit is contained in:
committed by
GitHub
parent
3add5ca3ef
commit
018b68f332
13
.github/workflows/dev-short-tests.yml
vendored
13
.github/workflows/dev-short-tests.yml
vendored
@@ -384,6 +384,7 @@ jobs:
|
|||||||
mingw-short-test:
|
mingw-short-test:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false # 'false' means Don't stop matrix workflows even if some matrix failed.
|
||||||
matrix:
|
matrix:
|
||||||
include: [
|
include: [
|
||||||
{ compiler: gcc, msystem: MINGW32, cflags: "-Werror"},
|
{ compiler: gcc, msystem: MINGW32, cflags: "-Werror"},
|
||||||
@@ -401,18 +402,18 @@ jobs:
|
|||||||
install: make diffutils
|
install: make diffutils
|
||||||
update: true
|
update: true
|
||||||
# Based on https://ariya.io/2020/07/on-github-actions-with-msys2
|
# Based on https://ariya.io/2020/07/on-github-actions-with-msys2
|
||||||
- name: install mingw gcc
|
- name: install mingw gcc i686
|
||||||
if: ${{ (matrix.msystem == 'MINGW32') && (matrix.compiler == 'gcc') }}
|
if: ${{ (matrix.msystem == 'MINGW32') && (matrix.compiler == 'gcc') }}
|
||||||
run: pacman --noconfirm -S mingw-w64-i686-gcc
|
run: pacman --noconfirm -S mingw-w64-i686-gcc
|
||||||
- name: install mingw gcc
|
- name: install mingw gcc x86_64
|
||||||
if: ${{ (matrix.msystem == 'MINGW64') && (matrix.compiler == 'gcc') }}
|
if: ${{ (matrix.msystem == 'MINGW64') && (matrix.compiler == 'gcc') }}
|
||||||
run: pacman --noconfirm -S mingw-w64-x86_64-gcc
|
run: pacman --noconfirm -S mingw-w64-x86_64-gcc
|
||||||
- name: install mingw clang x86_64
|
|
||||||
if: ${{ (matrix.msystem == 'MINGW64') && (matrix.compiler == 'clang') }}
|
|
||||||
run: pacman --noconfirm -S mingw-w64-x86_64-clang
|
|
||||||
- name: install mingw clang i686
|
- name: install mingw clang i686
|
||||||
if: ${{ (matrix.msystem == 'MINGW32') && (matrix.compiler == 'clang') }}
|
if: ${{ (matrix.msystem == 'MINGW32') && (matrix.compiler == 'clang') }}
|
||||||
run: pacman --noconfirm -S mingw-w64-i686-clang
|
run: pacman --noconfirm -S mingw-w64-i686-clang
|
||||||
|
- name: install mingw clang x86_64
|
||||||
|
if: ${{ (matrix.msystem == 'MINGW64') && (matrix.compiler == 'clang') }}
|
||||||
|
run: pacman --noconfirm -S mingw-w64-x86_64-clang
|
||||||
- name: run mingw tests
|
- name: run mingw tests
|
||||||
run: |
|
run: |
|
||||||
make -v
|
make -v
|
||||||
@@ -421,7 +422,7 @@ jobs:
|
|||||||
CFLAGS="${{ matrix.cflags }}" make -j allzstd
|
CFLAGS="${{ matrix.cflags }}" make -j allzstd
|
||||||
echo "Testing $CC ${{ matrix.msystem }}"
|
echo "Testing $CC ${{ matrix.msystem }}"
|
||||||
make clean
|
make clean
|
||||||
make check
|
MSYS="" make check
|
||||||
|
|
||||||
visual-runtime-tests:
|
visual-runtime-tests:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user