Skip to content

Commit a935379

Browse files
authored
fix: LuaJIT in CI (#150)
1 parent e513b47 commit a935379

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
- name: Checkout
2323
uses: actions/checkout@v3
2424

25+
- name: Install LuaJIT
26+
run: |
27+
sudo apt-get update
28+
sudo apt-get install -y luajit libluajit-5.1-dev
2529
- name: Set up Elixir
2630
uses: erlef/setup-beam@v1
2731
with:
@@ -47,6 +51,10 @@ jobs:
4751
- name: Checkout
4852
uses: actions/checkout@v3
4953

54+
- name: Install LuaJIT
55+
run: |
56+
sudo apt-get update
57+
sudo apt-get install -y luajit libluajit-5.1-dev
5058
- name: Set up Elixir
5159
uses: erlef/setup-beam@v1
5260
with:

mix.exs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ defmodule Lua.MixProject do
6565
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
6666
{:stream_data, "~> 1.1", only: [:test]},
6767
{:styler, "~> 1.10", only: [:dev, :test], runtime: false},
68-
{:benchee, "~> 1.3", only: :dev},
69-
{:luerl, "~> 1.5", only: :dev},
70-
{:luaport, "~> 1.6", only: :dev}
68+
{:benchee, "~> 1.3", only: :benchmark},
69+
{:luerl, "~> 1.5", only: :benchmark},
70+
{:luaport, "~> 1.6", only: :benchmark}
7171
]
7272
end
7373
end

0 commit comments

Comments
 (0)