Skip to content

Commit

Permalink
Merge pull request #80 from elbywan/crystal-1.11
Browse files Browse the repository at this point in the history
upgrade to crystal 1.11
  • Loading branch information
elbywan committed Jan 10, 2024
2 parents 48f4b48 + 00e19db commit 8b3c589
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: brew update && brew install openssl crystal
- name: Build the binary
env:
LLVM_CONFIG: /usr/local/opt/llvm@15/bin/llvm-config
LLVM_CONFIG: /usr/local/opt/llvm@17/bin/llvm-config
run: shards build crystalline --release --no-debug -Dpreview_mt --stats --progress --ignore-crystal-version
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: shards install --production --ignore-crystal-version
- name: Build the binary
env:
LLVM_CONFIG: /usr/local/opt/llvm@15/bin/llvm-config
LLVM_CONFIG: /usr/local/opt/llvm@17/bin/llvm-config
run: shards build crystalline --release --no-debug -Dpreview_mt --stats --progress --ignore-crystal-version
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM crystallang/crystal:1.10.0-alpine
FROM crystallang/crystal:1.11.0-alpine

WORKDIR /app

Expand All @@ -9,7 +9,7 @@ RUN apk add --update --no-cache --force-overwrite \
# Build crystalline.
COPY . /app/

RUN git clone -b 1.10.0 --depth=1 https://github.com/crystal-lang/crystal \
RUN git clone -b 1.11.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.10.x** | **0.11** |
| **1.11.x** | **0.12** |
| 1.10 | 0.11 |
| 1.9 | 0.10 |
| 1.8 | 0.9 |
| 1.7 | 0.8 |
Expand Down

0 comments on commit 8b3c589

Please sign in to comment.