Skip to content

Commit

Permalink
add new version
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanstats committed Mar 3, 2020
1 parent dd5b7ae commit 5385e6f
Show file tree
Hide file tree
Showing 11 changed files with 99 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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'
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
- RAKU_VERSION=daily
- RAKU_VERSION=2019.11
- RAKU_VERSION=2020.01
- RAKU_VERSION=2020.02.1


before_install:
Expand Down
2 changes: 1 addition & 1 deletion 2019.11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion 2020.01/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
42 changes: 42 additions & 0 deletions 2020.02.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"

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"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
50 changes: 50 additions & 0 deletions scripts/rakudo-2020.02.1.iss
Original file line number Diff line number Diff line change
@@ -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

File renamed without changes.

0 comments on commit 5385e6f

Please sign in to comment.