1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-07-13 01:18:45 +00:00

Gitlab CI Testing

This commit is contained in:
Michael Hollister 2024-10-18 18:48:37 -05:00
parent 034d7ef342
commit e75f644f1c

View file

@ -20,19 +20,18 @@ 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 p7zip-full - apt update && apt install -y zip dpkg fakeroot rpm wine64 wine32:i386 mono-devel wget unzip
- wget https://github.com/PietJankbal/Chocolatey-for-wine/releases/download/v0.5a.745/Chocolatey-for-wine.7z # - ln -s /usr/bin/wine /usr/bin/wine64
- 7za x Chocolatey-for-wine.7z # - wget https://github.com/PietJankbal/Chocolatey-for-wine/releases/download/v0.5a.745/Chocolatey-for-wine.7z
- wine Chocolatey-for-wine/ChoCinstaller_0.5a.745.exe # - 7za x Chocolatey-for-wine.7z
- wine choco install wixtoolset --version=3.14.1 # - wine Chocolatey-for-wine/ChoCinstaller_0.5a.745.exe
# - wine choco install wixtoolset --version=3.14.1
# p7zip-full # p7zip-full
# unzip # unzip
# - wget https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip - wget https://github.com/wixtoolset/wix3/releases/download/wix3141rtm/wix314-binaries.zip
# - unzip wix314-binaries.zip -d wix314-binaries - unzip wix314-binaries.zip -d wix314-binaries
- export WINEPATH="wix314-binaries/"
# - ln -s /usr/bin/wine /usr/bin/wine64 # - export WINEPATH="/root/.wine/drive_c/Program Files (x86)/WiX Toolset v3.14/bin/"
# - 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