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

upgrade to crystal 1.13 #95

Merged
merged 1 commit into from
Sep 14, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
export LLVM_CONFIG="$(brew --prefix)/opt/llvm@18/bin/llvm-config"
shards build crystalline --release --no-debug -Dpreview_mt --stats --progress --ignore-crystal-version
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crystalline_${{ matrix.runner == 'macos-latest' && 'arm64' || 'x86_64' }}-apple-darwin
path: ./bin/crystalline
Expand All @@ -42,7 +42,7 @@ jobs:
run: |
docker run -v $PWD:/app/host --rm crystalline:latest cp ./bin/crystalline ./host/crystalline
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crystalline_x86_64-unknown-linux-musl
path: ./crystalline
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
export LLVM_CONFIG="$(brew --prefix)/opt/llvm@18/bin/llvm-config"
shards build crystalline --release --no-debug -Dpreview_mt --stats --progress --ignore-crystal-version
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crystalline_${{ matrix.runner == 'macos-latest' && 'arm64' || 'x86_64' }}-apple-darwin
path: ./bin/crystalline
Expand All @@ -41,7 +41,7 @@ jobs:
run: |
docker run -v $PWD:/app/host --rm crystalline:latest cp ./bin/crystalline ./host/crystalline
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crystalline_x86_64-unknown-linux-musl
path: ./crystalline
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: ./artifacts
- name: Compress artifacts
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM crystallang/crystal:1.12.1-alpine
FROM crystallang/crystal:1.13.2-alpine

WORKDIR /app

# Add llvm deps.
RUN apk add --update --no-cache --force-overwrite \
llvm15-dev llvm15-static g++ libxml2-static make
llvm15-dev llvm15-static g++ libxml2-static zstd-static make

# Build crystalline.
COPY . /app/

RUN git clone -b 1.11.2 --depth=1 https://github.com/crystal-lang/crystal \
RUN git clone -b 1.13.2 --depth=1 https://github.com/crystal-lang/crystal \
&& make -C crystal llvm_ext \
&& CRYSTAL_PATH=crystal/src:lib shards build crystalline \
--no-debug --progress --stats --production --static --release \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ Building from source does take a long time._

| Crystal | Crystalline |
| -------- | ----------- |
| **1.12** | **0.13** |
| **1.13** | **0.14** |
| 1.12 | 0.13 |
| 1.11 | 0.12 |
| 1.10 | 0.11 |
| 1.9 | 0.10 |
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: crystalline
version: 0.13.1
version: 0.14.0

authors:
- Julien Elbaz <[email protected]>
Expand Down
Loading