mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-03-15 14:03:17 +08:00
asdf
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -17,9 +17,7 @@ jobs:
|
|||||||
goos: windows
|
goos: windows
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
executable_ext: ".exe"
|
executable_ext: ".exe"
|
||||||
install_deps: |
|
install_deps: ""
|
||||||
echo "CGO_CFLAGS=-ID:/a/_temp/msys64/mingw64/include" >> $GITHUB_ENV
|
|
||||||
echo "CGO_LDFLAGS=-LD:/a/_temp/msys64/mingw64/lib" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
@@ -54,6 +52,14 @@ jobs:
|
|||||||
mingw-w64-x86_64-toolchain
|
mingw-w64-x86_64-toolchain
|
||||||
mingw-w64-x86_64-mpv
|
mingw-w64-x86_64-mpv
|
||||||
|
|
||||||
|
- name: Set up MSYS2 environment for Go build
|
||||||
|
if: matrix.goos == 'windows'
|
||||||
|
shell: msys2 {0}
|
||||||
|
run: |
|
||||||
|
echo "CGO_CFLAGS=-ID:/a/_temp/msys64/mingw64/include" >> $GITHUB_ENV
|
||||||
|
echo "CGO_LDFLAGS=-LD:/a/_temp/msys64/mingw64/lib" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: ${{ matrix.install_deps }}
|
run: ${{ matrix.install_deps }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user