Skip to content

Commit

Permalink
upgrade to crystal 1.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elbywan committed Oct 11, 2024
1 parent 5c2986f commit c9a9527
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: brew update && brew install crystal || true
- name: Build the binary
run: |
export LLVM_CONFIG="$(brew --prefix)/opt/llvm@18/bin/llvm-config"
export LLVM_CONFIG="$(brew --prefix)/opt/llvm@19/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@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: shards install --production --ignore-crystal-version
- name: Build the binary
run: |
export LLVM_CONFIG="$(brew --prefix)/opt/llvm@18/bin/llvm-config"
export LLVM_CONFIG="$(brew --prefix)/opt/llvm@19/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@v4
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.13.2-alpine
FROM crystallang/crystal:1.14.0-alpine

WORKDIR /app

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

# Build crystalline.
COPY . /app/

RUN git clone -b 1.13.2 --depth=1 https://github.com/crystal-lang/crystal \
RUN git clone -b 1.14.0 --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.13** | **0.14** |
| **1.14** | **0.15** |
| 1.13 | 0.14 |
| 1.12 | 0.13 |
| 1.11 | 0.12 |
| 1.10 | 0.11 |
Expand Down

0 comments on commit c9a9527

Please sign in to comment.