workflows: comment windows

This commit is contained in:
wipedlifepotato 2025-10-16 13:08:25 +03:00
parent fb48cdd9e1
commit ac417c8738

View file

@ -12,7 +12,7 @@ jobs:
build: build:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest]
compiler: [clang] compiler: [clang]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -44,13 +44,13 @@ jobs:
####################### #######################
# Windows dependencies # # Windows dependencies #
####################### #######################
- name: Install MSYS2 (Windows) # - name: Install MSYS2 (Windows)
if: matrix.os == 'windows-latest' # if: matrix.os == 'windows-latest'
uses: msys2/setup-msys2@v2 ## uses: msys2/setup-msys2@v2
with: # with:
msystem: CLANG64 # msystem: CLANG64
install: base-devel git mingw-w64-x86_64-clang mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-miniupnpc # install: base-devel git mingw-w64-x86_64-clang mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-miniupnpc
update: true # update: true
- name: Initialize Git Submodules - name: Initialize Git Submodules
run: git submodule update --init --recursive run: git submodule update --init --recursive
@ -72,14 +72,14 @@ jobs:
make stripall make stripall
make builddir make builddir
- name: Build Project (Windows) # - name: Build Project (Windows)
if: matrix.os == 'windows-latest' # if: matrix.os == 'windows-latest'
shell: msys2 {0} ## shell: msys2 {0}
run: | # run: |
cd "${GITHUB_WORKSPACE}" # cd "${GITHUB_WORKSPACE}"
make -j$(nproc) # make -j$(nproc)
make stripall # make stripall
make builddir # make builddir
####################### #######################
# Upload binaries # Upload binaries