1
0
mirror of synced 2025-02-07 14:41:21 +01:00

build: Add NoGPU (Software Rendering) version for Windows (#716)

* add NoGPU (Software Rendering) version for Windows

* rename the NoGPU artifact

* add emoji to a step
This commit is contained in:
iTrooz_ 2022-09-02 16:12:02 +02:00 committed by GitHub
parent 3eb2cca286
commit b10ba8fea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 9 deletions

View File

@ -101,6 +101,13 @@ jobs:
cpack cpack
echo "ImHex checks for the existence of this file to determine if it is running in portable mode. You should not delete this file" > $PWD/install/PORTABLE echo "ImHex checks for the existence of this file to determine if it is running in portable mode. You should not delete this file" > $PWD/install/PORTABLE
- name: ⬆️ Upload Windows Installer
uses: actions/upload-artifact@v3
with:
name: Windows Installer
path: |
build/*.msi
- name: ⬆️ Upload Portable ZIP - name: ⬆️ Upload Portable ZIP
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
@ -108,12 +115,21 @@ jobs:
path: | path: |
build/install/* build/install/*
- name: ⬆️ Upload Windows Installer - name: ⬇️ Download Mesa3D for NoGPU version
shell: bash
run: |
echo "NoGPU version Powered by Mesa 3D : https://fdossena.com/?p=mesa%2Findex.frag" > build/install/MESA.md
curl https://downloads.fdossena.com/geth.php?r=mesa64-latest -L -o mesa.7z
7z e mesa.7z
mv opengl32.dll build/install
- name: ⬆️ Upload NoGPU Portable ZIP
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: Windows Installer name: Windows Portable NoGPU
path: | path: |
build/*.msi build/install/*
# MacOS build # MacOS build
macos: macos:

View File

@ -58,8 +58,10 @@ jobs:
fi fi
done done
- name: 🟩 Rename Windows Portable Zip - name: 🟩 Rename artifacts when needed
run: mv "Windows Portable.zip" imhex-${{env.IMHEX_VERSION}}-Windows-Portable.zip run: |
mv "Windows Portable.zip" imhex-${{env.IMHEX_VERSION}}-Windows-Portable.zip
mv "Windows Portable NoGPU.zip" imhex-${{env.IMHEX_VERSION}}-Windows-Portable-NoGPU.zip
- name: ⬆️ Upload everything to release - name: ⬆️ Upload everything to release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1