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 echo "deb http://ftp.de.debian.org/debian bookworm main" > /etc/apt/sources.list
|
||||||
RUN dpkg --add-architecture i386
|
RUN dpkg --add-architecture i386
|
||||||
RUN apt update && apt install -y wine32 wine64 make wget
|
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 {
|
stages {
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
steps {
|
steps {
|
||||||
|
sh 'make install-nsis'
|
||||||
sh 'make'
|
sh 'make'
|
||||||
archiveArtifacts artifacts: 'setup_*.exe'
|
archiveArtifacts artifacts: 'setup_*.exe'
|
||||||
}
|
}
|
||||||
|
|
6
Makefile
6
Makefile
|
@ -1,6 +1,5 @@
|
||||||
build: snow
|
build: snow
|
||||||
whoami
|
wine ${HOME}/.wine/drive_c/Program\ Files\ \(x86\)/NSIS/makensis.exe install.nsi
|
||||||
wine makensis.exe install.nsi
|
|
||||||
|
|
||||||
repo.scm:
|
repo.scm:
|
||||||
wget https://snow-fort.org/s/repo.scm
|
wget https://snow-fort.org/s/repo.scm
|
||||||
|
@ -11,6 +10,9 @@ urls.txt: repo.scm
|
||||||
snow: urls.txt
|
snow: urls.txt
|
||||||
sh download.sh
|
sh download.sh
|
||||||
|
|
||||||
|
install-nsis:
|
||||||
|
wine ./executables/nsis-3.10-setup.exe /S
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf repo.scm
|
rm -rf repo.scm
|
||||||
rm -rf snow
|
rm -rf snow
|
||||||
|
|
Loading…
Reference in New Issue