CI: Install OCaml, Roc, and Stack (for Haskell) #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Benchmarks | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Update Homebrew registry | |
run: brew update | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Set up Dart | |
run: | | |
brew tap dart-lang/dart | |
brew install dart | |
- name: Set up Dotnet | |
run: brew install dotnet | |
- name: Set up Deno | |
run: brew install deno | |
- name: Set up Elixir | |
run: brew install elixir | |
- name: Set up Elvish | |
run: brew install elvish | |
- name: Set up Fish | |
run: brew install fish | |
- name: Set up Godot for GDScript | |
run: brew install godot | |
- name: Set up Guile | |
run: brew install guile | |
- name: Set up Julia | |
run: brew install julia | |
- name: Set up Lua | |
run: brew install lua | |
- name: Set up Luajit | |
run: brew install luajit | |
- name: Set up Ngs | |
run: brew install ngs | |
- name: Set up Nickel | |
run: brew install nickel | |
- name: Set up Nix | |
uses: cachix/install-nix-action@v27 | |
# - name: Set up Nim | |
# run: brew install nim | |
- name: Set up Nushell | |
run: brew install nushell | |
- name: Set up OCaml | |
run: brew install ocaml | |
- name: Set up Osh | |
run: brew install osh | |
- name: Set up Php | |
run: brew install php | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
- name: Set up Racket | |
run: brew install minimal-racket | |
- name: Set up Roc | |
uses: hasnep/setup-roc@main | |
- name: Set up Scala | |
run: brew install scala | |
- name: Set up Stack | |
uses: haskell-actions/setup@v2 | |
with: | |
enable-stack: true | |
- name: Set up Typst | |
run: brew install typst | |
- name: Set up V | |
run: brew install v | |
- name: Install Hyperfine | |
run: brew install hyperfine | |
- name: Run main benchmark | |
run: make run | |
- name: Run shebang-scripts benchmark | |
run: make run-shebangs |