Fixing the build
This commit is contained in:
parent
7620ce4b7c
commit
b2ed34ff33
|
@ -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
|
||||
|
|
|
@ -14,6 +14,7 @@ pipeline {
|
|||
stages {
|
||||
stage("Build") {
|
||||
steps {
|
||||
sh 'make install-nsis'
|
||||
sh 'make'
|
||||
archiveArtifacts artifacts: 'setup_*.exe'
|
||||
}
|
||||
|
|
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue