Fix gh CI scripts for a non-standard shell

This commit is contained in:
Sergey Stepanov 2020-04-27 13:12:40 +03:00
parent ffd4007bd2
commit bd6390f89b
No known key found for this signature in database
GPG key ID: A56B4929BAA8556B
2 changed files with 18 additions and 4 deletions

View file

@ -50,6 +50,7 @@ jobs:
with:
msystem: MINGW64
path-type: inherit
update: true
- name: Load Go modules maybe?
uses: actions/cache@v1
@ -61,8 +62,14 @@ jobs:
- name: Build Windows app
if: matrix.os == 'windows-latest'
run: |
msys2do pacman -Sy --noconfirm --needed make mingw-w64-x86_64-{gcc,pkg-config,dlfcn,libvpx,opusfile}
run: >
msys2do pacman -S --noconfirm --needed make
mingw-w64-x86_64-gcc
mingw-w64-x86_64-pkg-config
mingw-w64-x86_64-dlfcn
mingw-w64-x86_64-libvpx
mingw-w64-x86_64-opusfile
msys2do make build
- name: Build Linux app

View file

@ -68,6 +68,7 @@ jobs:
with:
msystem: MINGW64
path-type: inherit
update: true
- name: Load Go modules maybe?
uses: actions/cache@v1
@ -79,8 +80,14 @@ jobs:
- name: Build Windows app
if: matrix.os == 'windows-latest'
run: |
msys2do pacman -Sy --noconfirm --needed make mingw-w64-x86_64-{gcc,pkg-config,dlfcn,libvpx,opusfile}
run: >
msys2do pacman -S --noconfirm --needed make
mingw-w64-x86_64-gcc
mingw-w64-x86_64-pkg-config
mingw-w64-x86_64-dlfcn
mingw-w64-x86_64-libvpx
mingw-w64-x86_64-opusfile
msys2do make release RELEASE_DIR=${{ env.release-dir }} DLIB_SEARCH_PATTERN=/mingw.*dll CORE_EXT=dll
- name: Build Linux app