mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-02 18:46:46 +01:00
CI: Fix if lines
This commit is contained in:
parent
2495838fe3
commit
59a7835ace
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -667,12 +667,12 @@ jobs:
|
|||||||
run: ln -s /strawberry-mxe ~/mxe-shared
|
run: ln -s /strawberry-mxe ~/mxe-shared
|
||||||
|
|
||||||
- name: Set ENABLE_WIN32_CONSOLE (debug)
|
- name: Set ENABLE_WIN32_CONSOLE (debug)
|
||||||
if: ${{matrix.build_type}} == 'debug'
|
if: matrix.build_type == 'debug'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "win32_console=ON" >> $GITHUB_ENV
|
run: echo "win32_console=ON" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set ENABLE_WIN32_CONSOLE (release)
|
- name: Set ENABLE_WIN32_CONSOLE (release)
|
||||||
if: ${{matrix.build_type}} == 'release'
|
if: matrix.build_type == 'release'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "win32_console=OFF" >> $GITHUB_ENV
|
run: echo "win32_console=OFF" >> $GITHUB_ENV
|
||||||
|
|
||||||
@ -752,7 +752,7 @@ jobs:
|
|||||||
-R /strawberry-mxe/usr/${{matrix.arch}}-w64-mingw32.shared
|
-R /strawberry-mxe/usr/${{matrix.arch}}-w64-mingw32.shared
|
||||||
|
|
||||||
- name: Strip binaries
|
- name: Strip binaries
|
||||||
if: ${{matrix.build_type}} == 'release'
|
if: matrix.build_type == 'release'
|
||||||
working-directory: build
|
working-directory: build
|
||||||
run: find . -type f \( -iname \*.dll -o -iname \*.exe \) -exec /strawberry-mxe/usr/bin/${{matrix.arch}}-w64-mingw32.shared-strip {} \;
|
run: find . -type f \( -iname \*.dll -o -iname \*.exe \) -exec /strawberry-mxe/usr/bin/${{matrix.arch}}-w64-mingw32.shared-strip {} \;
|
||||||
|
|
||||||
@ -862,12 +862,12 @@ jobs:
|
|||||||
run: cmake -E make_directory build
|
run: cmake -E make_directory build
|
||||||
|
|
||||||
- name: Set ENABLE_WIN32_CONSOLE (debug)
|
- name: Set ENABLE_WIN32_CONSOLE (debug)
|
||||||
if: ${{matrix.build_type}} == 'debug'
|
if: matrix.build_type == 'debug'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "win32_console=ON" >> $GITHUB_ENV
|
run: echo "win32_console=ON" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set ENABLE_WIN32_CONSOLE (release)
|
- name: Set ENABLE_WIN32_CONSOLE (release)
|
||||||
if: ${{matrix.build_type}} == 'release'
|
if: matrix.build_type == 'release'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "win32_console=OFF" >> $GITHUB_ENV
|
run: echo "win32_console=OFF" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user