chore: exclude windows

This commit is contained in:
C committed 2026-09-10 17:03:43 -07:00
1 parent 042d3c4f8b
commit 6b9789ca3a
1 file changed
+62 -55
+62 -55
View File
@@ -405,73 +405,80 @@ jobs:
path: | path: |
dist/palera1n-macos-universal.dmg dist/palera1n-macos-universal.dmg
build-windows: # build-windows:
runs-on: windows-latest # runs-on: windows-latest
needs: [build-pongo, build-ramdisk] # needs: [build-pongo, build-ramdisk]
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
- name: Download Pongo # - name: Download Pongo
uses: actions/download-artifact@v4 # uses: actions/download-artifact@v4
with: # with:
name: pongo # name: pongo
path: embedded/ # path: embedded/
- name: Download embedded artifacts # - name: Download embedded artifacts
uses: actions/download-artifact@v4 # uses: actions/download-artifact@v4
with: # with:
name: embedded # name: embedded
path: embedded/ # path: embedded/
- name: Install dependencies (choco) # - name: Install dependencies (choco)
run: choco install nsis.portable # run: choco install nsis.portable
- name: Install dependencies (msys2) # - name: Install dependencies (msys2)
uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884
with: # with:
msystem: MINGW64 # msystem: MINGW64
install: > # install: >
git # git
mingw-w64-x86_64-toolchain # mingw-w64-x86_64-toolchain
mingw-w64-x86_64-cmake # mingw-w64-x86_64-cmake
mingw-w64-x86_64-libusb # mingw-w64-x86_64-libusb
mingw-w64-x86_64-rust # mingw-w64-x86_64-rust
mingw-w64-x86_64-nsis # mingw-w64-x86_64-nsis
mingw-w64-x86_64-jq # mingw-w64-x86_64-jq
libtool # libtool
openssl # openssl
openssl-devel # openssl-devel
python-devel # python-devel
autoconf # autoconf
automake # automake
zip # zip
vim # vim
make # make
patch # patch
update: true # update: true
- name: Build # - name: Build
shell: msys2 {0} # shell: msys2 {0}
run: | # run: |
make palera1n_mingw WITH_STATIC=1 WITH_GUI=1 BUILD_TYPE=Release JOBS=$(nproc) # make palera1n_mingw WITH_STATIC=1 WITH_GUI=1 BUILD_TYPE=Release JOBS=$(nproc)
strip -s build/palera1n.exe # strip -s build/palera1n.exe
- name: Package # - name: Package
run: | # run: |
cd build && cpack -DCPACK_PACKAGE_FILE_NAME="palera1n-windows-x86_64-setup" # cd build && cpack -DCPACK_PACKAGE_FILE_NAME="palera1n-windows-x86_64-setup"
- name: Upload # - name: Upload
uses: actions/upload-artifact@v4 # uses: actions/upload-artifact@v4
with: # with:
name: palera1n-windows-x86_64 # name: palera1n-windows-x86_64
path: | # path: |
build/palera1n-windows-x86_64-setup.exe # build/palera1n-windows-x86_64-setup.exe
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
needs: [build-ramdisk, build-pongo, build-linux, build-macos-universal, build-windows, build-ios] needs: [
build-ramdisk,
build-pongo,
build-linux,
build-macos-universal,
# build-windows,
build-ios
]
steps: steps:
- name: Download embedded artifacts - name: Download embedded artifacts