Fixing the build

This commit is contained in:
retropikzel 2024-10-12 07:30:22 +03:00
parent 7620ce4b7c
commit b2ed34ff33
3 changed files with 5 additions and 9 deletions

View File

@ -2,10 +2,3 @@ FROM schemers/gauche
RUN echo "deb http://ftp.de.debian.org/debian bookworm main" > /etc/apt/sources.list
RUN dpkg --add-architecture i386
RUN apt update && apt install -y wine32 wine64 make wget
RUN useradd jenkins
RUN mkdir -p /workdir && chmod -R 777 /workdir && chown jenkins:jenkins /workdir
WORKDIR /workdir
COPY ./executables/nsis-3.10-setup.exe /workdir/setup.exe
USER jenkins
RUN WINEPREFIX=/workdir/.wine wine setup.exe /S
ENV WINEPREFIX=/workdir/.wine

1
Jenkinsfile vendored
View File

@ -14,6 +14,7 @@ pipeline {
stages {
stage("Build") {
steps {
sh 'make install-nsis'
sh 'make'
archiveArtifacts artifacts: 'setup_*.exe'
}

View File

@ -1,6 +1,5 @@
build: snow
whoami
wine makensis.exe install.nsi
wine ${HOME}/.wine/drive_c/Program\ Files\ \(x86\)/NSIS/makensis.exe install.nsi
repo.scm:
wget https://snow-fort.org/s/repo.scm
@ -11,6 +10,9 @@ urls.txt: repo.scm
snow: urls.txt
sh download.sh
install-nsis:
wine ./executables/nsis-3.10-setup.exe /S
clean:
rm -rf repo.scm
rm -rf snow