diff --git a/.appveyor.yml b/.appveyor.yml index 2a39aa4..946a5f8 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -15,7 +15,7 @@ install: - appveyor-retry choco install strawberryperl --allow-empty-checksums - appveyor-retry choco install innosetup wget - SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\Program Files (x86)\Inno Setup 6\;%PATH% - - set build=2020.01 + - set build=2020.02.1 build_script: - wget https://github.com/rakudo/rakudo/releases/download/%build%/rakudo-%build%.tar.gz && tar -xzf rakudo-%build%.tar.gz @@ -32,7 +32,7 @@ build_script: - zef install App::Mi6 App::Prove6 - cd .. - 7z a rakudo-%build%-x86_64(JIT).zip ./rakudo-old/* - - iscc %APPVEYOR_BUILD_FOLDER%/rakudo-%build%.iss + - iscc %APPVEYOR_BUILD_FOLDER%/scripts/rakudo-%build%.iss test_script: - git clone -b master --single-branch https://github.com/rakudo/rakudo.git @@ -49,7 +49,7 @@ test_script: #zef stuff here - cd .. - 7z a rakudo-daily-x86_64(JIT).zip ./rakudo-new/* - - iscc %APPVEYOR_BUILD_FOLDER%/rakudo-daily.iss + - iscc %APPVEYOR_BUILD_FOLDER%/scripts/rakudo-daily.iss artifacts: - path: 'rakudo-%build%-x86_64(JIT).zip' @@ -62,7 +62,7 @@ artifacts: name: rakudo-daily-installer deploy: - tag: 2020.01 + tag: 2020.02.1 release: Rakudo latest and daily description: 'zip and executable build of rakudo 2020.01 and daily' provider: GitHub diff --git a/.travis.yml b/.travis.yml index 3fc9c55..5a2ba40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ env: - RAKU_VERSION=daily - RAKU_VERSION=2019.11 - RAKU_VERSION=2020.01 + - RAKU_VERSION=2020.02.1 before_install: diff --git a/2019.11/Dockerfile b/2019.11/Dockerfile index d543d56..c185837 100644 --- a/2019.11/Dockerfile +++ b/2019.11/Dockerfile @@ -3,7 +3,7 @@ FROM debian:sid ENV LANG=C.UTF-8 \ LC_ALL=C.UTF-8 \ TERM=xterm \ - PANDOC=2.9.1 \ + PANDOC=2.9.2 \ RAKUDO=2019.11 diff --git a/2020.01/Dockerfile b/2020.01/Dockerfile index 70bf01f..034ef5a 100644 --- a/2020.01/Dockerfile +++ b/2020.01/Dockerfile @@ -3,7 +3,7 @@ FROM debian:sid ENV LANG=C.UTF-8 \ LC_ALL=C.UTF-8 \ TERM=xterm \ - PANDOC=2.9.1 \ + PANDOC=2.9.2 \ RAKUDO=2020.01 diff --git a/2020.02.1/Dockerfile b/2020.02.1/Dockerfile new file mode 100644 index 0000000..cd41fe9 --- /dev/null +++ b/2020.02.1/Dockerfile @@ -0,0 +1,42 @@ +FROM debian:sid + +ENV LANG=C.UTF-8 \ + LC_ALL=C.UTF-8 \ + TERM=xterm \ + PANDOC=2.9.2 \ + RAKUDO=2020.02.1 + + +ENV PATH=$PATH:/usr/share/perl6/site/bin + +LABEL maintainer="Dr Suman Khanal " + +RUN buildDeps="gcc \ + libc6-dev \ + libencode-perl \ + wget \ + make" \ + && apt-get update && apt-get install -y --no-install-recommends $buildDeps \ + && apt-get install -y git nano curl \ + && rm -rf /var/lib/apt/lists/* \ + && mkdir rakudo \ + && wget -O rakudo.tar.gz https://github.com/rakudo/rakudo/releases/download/${RAKUDO}/rakudo-${RAKUDO}.tar.gz \ + && tar xzf rakudo.tar.gz --strip-components=1 -C rakudo \ + && ( \ + cd rakudo \ + && perl Configure.pl --prefix=/usr --gen-moar --backends=moar --relocatable \ + && make && make install \ + ) \ + && rm -rf rakudo rakudo.tar.gz \ + && git clone -b master --single-branch https://github.com/ugexe/zef.git \ + && cd zef \ + && raku -I. bin/zef install . && cd .. && rm -rf zef \ + && zef install Linenoise App::Mi6 App::Prove6 \ + && wget https://github.com/jgm/pandoc/releases/download/${PANDOC}/pandoc-${PANDOC}-1-amd64.deb \ + && dpkg -i pandoc-${PANDOC}-1-amd64.deb && rm pandoc-${PANDOC}-1-amd64.deb \ + && apt-get purge -y --auto-remove $buildDeps + + + #--no-install-recommends + +CMD ["raku", "--version"] diff --git a/Camelia.ico b/scripts/Camelia.ico similarity index 100% rename from Camelia.ico rename to scripts/Camelia.ico diff --git a/LICENSE.txt b/scripts/LICENSE.txt similarity index 100% rename from LICENSE.txt rename to scripts/LICENSE.txt diff --git a/rakudo-2019.11.iss b/scripts/rakudo-2019.11.iss similarity index 100% rename from rakudo-2019.11.iss rename to scripts/rakudo-2019.11.iss diff --git a/rakudo-2020.01.iss b/scripts/rakudo-2020.01.iss similarity index 100% rename from rakudo-2020.01.iss rename to scripts/rakudo-2020.01.iss diff --git a/scripts/rakudo-2020.02.1.iss b/scripts/rakudo-2020.02.1.iss new file mode 100644 index 0000000..9d02c02 --- /dev/null +++ b/scripts/rakudo-2020.02.1.iss @@ -0,0 +1,50 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "rakudo-2020.02.1" +#define MyAppVersion "0.1" +#define MyAppPublisher "The Perl Foundation" +#define MyAppURL "https://raku.org" + +[Setup] +; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. +; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) +AppId={{B1AD0AB5-1539-4EE3-8C60-D78857F33AC5} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +AppPublisherURL={#MyAppURL} +AppSupportURL={#MyAppURL} +AppUpdatesURL={#MyAppURL} +DefaultDirName={autopf}\{#MyAppName} +DefaultGroupName={#MyAppName} +LicenseFile=LICENSE.txt +; Uncomment the following line to run in non administrative install mode (install for current user only.) +;PrivilegesRequired=lowest +PrivilegesRequiredOverridesAllowed=dialog +OutputDir=. +OutputBaseFilename=rakudo-2020.02.1-x86_64(JIT) +;VersionInfoVersion=2020.0.0.1 +;VersionInfoDescription=Supports Raku 6.d +SetupIconFile=Camelia.ico +Compression=lzma +SolidCompression=yes +ArchitecturesAllowed=x64 +ArchitecturesInstallIn64BitMode=x64 +DisableReadyPage=yes +WizardStyle=modern + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Messages] +OnlyOnTheseArchitectures=The 64-bit installer cannot be used on 32-bit Windows. + +[Files] +Source: "C:\projects\rakudo\rakudo-old\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Icons] +Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"; IconFilename: {sys}\Shell32.dll; IconIndex: 31 + diff --git a/rakudo-daily.iss b/scripts/rakudo-daily.iss similarity index 100% rename from rakudo-daily.iss rename to scripts/rakudo-daily.iss