mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-24 02:27:32 +00:00
Fix gh CI scripts for a non-standard shell
This commit is contained in:
parent
ffd4007bd2
commit
bd6390f89b
2 changed files with 18 additions and 4 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue