Skip to content

Commit f0f8e93

Browse files
authored
Merge pull request #95 from elbywan/crystal-1.13
upgrade to crystal 1.13
2 parents 7bd95d9 + 9c48536 commit f0f8e93

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
export LLVM_CONFIG="$(brew --prefix)/opt/llvm@18/bin/llvm-config"
2828
shards build crystalline --release --no-debug -Dpreview_mt --stats --progress --ignore-crystal-version
2929
- name: Upload a Build Artifact
30-
uses: actions/upload-artifact@v2
30+
uses: actions/upload-artifact@v4
3131
with:
3232
name: crystalline_${{ matrix.runner == 'macos-latest' && 'arm64' || 'x86_64' }}-apple-darwin
3333
path: ./bin/crystalline
@@ -42,7 +42,7 @@ jobs:
4242
run: |
4343
docker run -v $PWD:/app/host --rm crystalline:latest cp ./bin/crystalline ./host/crystalline
4444
- name: Upload a Build Artifact
45-
uses: actions/upload-artifact@v2
45+
uses: actions/upload-artifact@v4
4646
with:
4747
name: crystalline_x86_64-unknown-linux-musl
4848
path: ./crystalline

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
export LLVM_CONFIG="$(brew --prefix)/opt/llvm@18/bin/llvm-config"
2727
shards build crystalline --release --no-debug -Dpreview_mt --stats --progress --ignore-crystal-version
2828
- name: Upload a Build Artifact
29-
uses: actions/upload-artifact@v2
29+
uses: actions/upload-artifact@v4
3030
with:
3131
name: crystalline_${{ matrix.runner == 'macos-latest' && 'arm64' || 'x86_64' }}-apple-darwin
3232
path: ./bin/crystalline
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
docker run -v $PWD:/app/host --rm crystalline:latest cp ./bin/crystalline ./host/crystalline
4343
- name: Upload a Build Artifact
44-
uses: actions/upload-artifact@v2
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: crystalline_x86_64-unknown-linux-musl
4747
path: ./crystalline
@@ -50,7 +50,7 @@ jobs:
5050
runs-on: ubuntu-latest
5151
steps:
5252
- name: Download artifacts
53-
uses: actions/download-artifact@v2
53+
uses: actions/download-artifact@v4
5454
with:
5555
path: ./artifacts
5656
- name: Compress artifacts

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM crystallang/crystal:1.12.1-alpine
1+
FROM crystallang/crystal:1.13.2-alpine
22

33
WORKDIR /app
44

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

99
# Build crystalline.
1010
COPY . /app/
1111

12-
RUN git clone -b 1.11.2 --depth=1 https://github.com/crystal-lang/crystal \
12+
RUN git clone -b 1.13.2 --depth=1 https://github.com/crystal-lang/crystal \
1313
&& make -C crystal llvm_ext \
1414
&& CRYSTAL_PATH=crystal/src:lib shards build crystalline \
1515
--no-debug --progress --stats --production --static --release \

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Building from source does take a long time._
3232

3333
| Crystal | Crystalline |
3434
| -------- | ----------- |
35-
| **1.12** | **0.13** |
35+
| **1.13** | **0.14** |
36+
| 1.12 | 0.13 |
3637
| 1.11 | 0.12 |
3738
| 1.10 | 0.11 |
3839
| 1.9 | 0.10 |

shard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: crystalline
2-
version: 0.13.1
2+
version: 0.14.0
33

44
authors:
55
- Julien Elbaz <[email protected]>

0 commit comments

Comments
 (0)