Skip to content

Commit

Permalink
add crystal
Browse files Browse the repository at this point in the history
  • Loading branch information
acheronfail committed Dec 19, 2023
1 parent fae10c3 commit fae169e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
build:
- bun
- clang
- crystal
- deno
- erlang
- fortran
Expand Down Expand Up @@ -56,7 +57,10 @@ jobs:
with:
deno-version: "~1"
- run: |
sudo apt install -y build-essential cargo clang curl erlang gfortran haskell-platform jq kotlin moreutils nodejs php rustc scala tar wget xz-utils
curl -sSL https://dist.crystal-lang.org/apt/setup.sh | sudo bash
sudo apt update
sudo apt install -y build-essential cargo clang crystal curl erlang gfortran haskell-platform jq kotlin moreutils nodejs php rustc scala tar wget xz-utils
cargo install timers
cargo install hyperfine
cargo install ripgrep --features 'pcre2'
Expand Down
2 changes: 1 addition & 1 deletion count.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
i += 1
end

print i
puts i
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,6 @@ build-php: (_check "php")
build-erlang: (_check "erlc erl")
erlc count.erl
echo 'erl -noshell -s count start -s init stop' > CMD

build-crystal: (_check "crystal")
echo 'crystal run ./count.rb' > CMD

0 comments on commit fae169e

Please sign in to comment.