1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-07-24 10:56:59 +00:00

Gitlab CI Testing

This commit is contained in:
Michael Hollister 2024-10-18 18:42:42 -05:00
parent d6a327c9dd
commit 034d7ef342

View file

@ -20,12 +20,19 @@ buildWindowsAndLinux:
before_script: before_script:
- cd receivers/electron - cd receivers/electron
- dpkg --add-architecture i386 - dpkg --add-architecture i386
- apt update && apt install -y zip dpkg fakeroot rpm wine wine32:i386 mono-devel wget unzip - apt update && apt install -y zip dpkg fakeroot rpm wine wine32:i386 mono-devel wget p7zip-full
- wget https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip - wget https://github.com/PietJankbal/Chocolatey-for-wine/releases/download/v0.5a.745/Chocolatey-for-wine.7z
- unzip wix314-binaries.zip -d wix314-binaries - 7za x Chocolatey-for-wine.7z
- wine Chocolatey-for-wine/ChoCinstaller_0.5a.745.exe
- wine choco install wixtoolset --version=3.14.1
# p7zip-full # p7zip-full
# unzip
# - wget https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip
# - unzip wix314-binaries.zip -d wix314-binaries
# - ln -s /usr/bin/wine /usr/bin/wine64 # - ln -s /usr/bin/wine /usr/bin/wine64
- export WINEPATH="wix314-binaries/" # - export WINEPATH="wix314-binaries/"
- export WINEPATH="/root/.wine/drive_c/Program Files (x86)/WiX Toolset v3.14/bin/"
script: script:
- npm install - npm install
- npm run build - npm run build