Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update previous Crystal release - 1.8.0 #13322

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ parameters:
previous_crystal_base_url:
description: "Prefix for URLs to Crystal bootstrap compiler"
type: string
default: "https://github.com/crystal-lang/crystal/releases/download/1.7.3/crystal-1.7.3-1"
default: "https://github.com/crystal-lang/crystal/releases/download/1.8.0/crystal-1.8.0-1"

defaults:
environment: &env
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/interpreter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
test-interpreter_spec:
runs-on: ubuntu-22.04
container:
image: crystallang/crystal:1.7.3-build
image: crystallang/crystal:1.8.0-build
name: "Test Interpreter"
steps:
- uses: actions/checkout@v3
Expand All @@ -24,7 +24,7 @@ jobs:
build-interpreter:
runs-on: ubuntu-22.04
container:
image: crystallang/crystal:1.7.3-build
image: crystallang/crystal:1.8.0-build
name: Build interpreter
steps:
- uses: actions/checkout@v3
Expand All @@ -43,7 +43,7 @@ jobs:
needs: build-interpreter
runs-on: ubuntu-22.04
container:
image: crystallang/crystal:1.7.3-build
image: crystallang/crystal:1.8.0-build
strategy:
matrix:
part: [0, 1, 2, 3]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
flags: "FLAGS=-Dwithout_ffi USE_PCRE1=true"
- crystal_bootstrap_version: 1.7.3
flags: ""
- crystal_bootstrap_version: 1.8.0
flags: ""
steps:
- name: Download Crystal source
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: "1.7.3"
crystal: "1.8.0"

- name: Build libllvm_ext
run: make -B deps
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/openssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
openssl3:
runs-on: ubuntu-latest
name: "OpenSSL 3.0"
container: crystallang/crystal:1.7.3-alpine
container: crystallang/crystal:1.8.0-alpine
steps:
- name: Download Crystal source
uses: actions/checkout@v3
Expand All @@ -19,28 +19,30 @@ jobs:
- name: Upgrade alpine-keys
run: apk upgrade alpine-keys
- name: Install openssl 3.0
run: apk add "openssl3-dev" --repository=http://dl-cdn.alpinelinux.org/alpine/v3.15/main
run: apk add "openssl-dev=~3.0"
- name: Check LibSSL version
run: bin/crystal eval 'require "openssl"; p! LibSSL::OPENSSL_VERSION, LibSSL::LIBRESSL_VERSION'
- name: Run OpenSSL specs
run: bin/crystal spec --order=random spec/std/openssl/
openssl111:
runs-on: ubuntu-latest
name: "OpenSSL 1.1.1"
container: crystallang/crystal:1.7.3-alpine
container: crystallang/crystal:1.8.0-alpine
steps:
- name: Download Crystal source
uses: actions/checkout@v3
- name: Uninstall openssl
run: apk del openssl-dev
- name: Install openssl 1.1.1
run: apk add "openssl-dev=~1.1.1"
run: apk add "openssl1.1-compat-dev=~1.1.1"
- name: Check LibSSL version
run: bin/crystal eval 'require "openssl"; p! LibSSL::OPENSSL_VERSION, LibSSL::LIBRESSL_VERSION'
- name: Run OpenSSL specs
run: bin/crystal spec --order=random spec/std/openssl/
libressl34:
runs-on: ubuntu-latest
name: "LibreSSL 3.4"
container: crystallang/crystal:1.7.3-alpine
container: crystallang/crystal:1.8.0-alpine
steps:
- name: Download Crystal source
uses: actions/checkout@v3
Expand All @@ -50,9 +52,6 @@ jobs:
run: apk upgrade alpine-keys
- name: Install libressl 3.4
run: apk add "libressl-dev=~3.4" --repository=http://dl-cdn.alpinelinux.org/alpine/v3.15/community
# We need a recent libc which include reallocarray
- name: Upgrade musl-dev
run: apk add "musl-dev=~1.2" --repository=http://dl-cdn.alpinelinux.org/alpine/v3.15/main
- name: Check LibSSL version
run: bin/crystal eval 'require "openssl"; p! LibSSL::OPENSSL_VERSION, LibSSL::LIBRESSL_VERSION'
- name: Run OpenSSL specs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/regex-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ jobs:
pcre:
runs-on: ubuntu-latest
name: "PCRE"
container: crystallang/crystal:1.7.3-alpine
container: crystallang/crystal:1.8.0-alpine
steps:
- name: Download Crystal source
uses: actions/checkout@v3
- name: Remove PCRE2
run: apk del pcre2-dev
- name: Assert using PCRE
run: bin/crystal eval 'abort unless Regex::Engine == Regex::PCRE'
- name: Run Regex specs
run: bin/crystal spec --order=random spec/std/regex*
pcre2:
runs-on: ubuntu-latest
name: "PCRE2"
container: crystallang/crystal:1.7.3-alpine
container: crystallang/crystal:1.8.0-alpine
steps:
- name: Download Crystal source
uses: actions/checkout@v3
- name: Install PCRE2
run: apk add pcre2-dev
- name: Assert using PCRE2
run: bin/crystal eval 'abort unless Regex::Engine == Regex::PCRE2'
- name: Assert select PCRE
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
wasm32-test:
runs-on: ubuntu-latest
container: crystallang/crystal:1.7.3-build
container: crystallang/crystal:1.8.0-build
steps:
- name: Download Crystal source
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: "1.7.3"
crystal: "1.8.0"

- name: Download Crystal source
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions bin/ci
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ format() {
prepare_build() {
on_linux verify_linux_environment

on_osx curl -L https://github.com/crystal-lang/crystal/releases/download/1.7.3/crystal-1.7.3-1-darwin-universal.tar.gz -o ~/crystal.tar.gz
on_osx 'pushd ~;gunzip -c ~/crystal.tar.gz | tar xopf -;mv crystal-1.7.3-1 crystal;popd'
on_osx curl -L https://github.com/crystal-lang/crystal/releases/download/1.8.0/crystal-1.8.0-1-darwin-universal.tar.gz -o ~/crystal.tar.gz
on_osx 'pushd ~;gunzip -c ~/crystal.tar.gz | tar xopf -;mv crystal-1.8.0-1 crystal;popd'

# These commands may take a few minutes to run due to the large size of the repositories.
# This restriction has been made on GitHub's request because updating shallow
Expand Down Expand Up @@ -188,7 +188,7 @@ with_build_env() {

on_linux verify_linux_environment

export DOCKER_TEST_PREFIX="${DOCKER_TEST_PREFIX:=crystallang/crystal:1.7.3}"
export DOCKER_TEST_PREFIX="${DOCKER_TEST_PREFIX:=crystallang/crystal:1.8.0}"

case $ARCH in
x86_64)
Expand Down
12 changes: 6 additions & 6 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ let
# Hashes obtained using `nix-prefetch-url --unpack <url>`
latestCrystalBinary = genericBinary ({
x86_64-darwin = {
url = "https://github.com/crystal-lang/crystal/releases/download/1.7.3/crystal-1.7.3-1-darwin-universal.tar.gz";
sha256 = "sha256:1jc3fdc36mpvh7zahszbij02c0nxhmmbpfjcpd890bapj2q4jkkr";
url = "https://github.com/crystal-lang/crystal/releases/download/1.8.0/crystal-1.8.0-1-darwin-universal.tar.gz";
sha256 = "sha256:1rwcx9bxxhfyw6zqd14drrqzhk72932zv2jgbrzrpyfmk2i63gng";
};

aarch64-darwin = {
url = "https://github.com/crystal-lang/crystal/releases/download/1.7.3/crystal-1.7.3-1-darwin-universal.tar.gz";
sha256 = "sha256:1jc3fdc36mpvh7zahszbij02c0nxhmmbpfjcpd890bapj2q4jkkr";
url = "https://github.com/crystal-lang/crystal/releases/download/1.8.0/crystal-1.8.0-1-darwin-universal.tar.gz";
sha256 = "sha256:1rwcx9bxxhfyw6zqd14drrqzhk72932zv2jgbrzrpyfmk2i63gng";
};

x86_64-linux = {
url = "https://github.com/crystal-lang/crystal/releases/download/1.7.3/crystal-1.7.3-1-linux-x86_64.tar.gz";
sha256 = "sha256:0diq6i760yd0rv310f80v60m015f5xkni7h60phspvmyy0yw9jv0";
url = "https://github.com/crystal-lang/crystal/releases/download/1.8.0/crystal-1.8.0-1-linux-x86_64.tar.gz";
sha256 = "sha256:0bnzbqil7avndz7qyijzixy4jsp3lk8dvyh6j7qarvjmrz5lj7m9";
};
}.${pkgs.stdenv.system});

Expand Down
2 changes: 1 addition & 1 deletion src/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0
1.9.0-dev