neon_arch commited on
Commit
7ebd0cd
โ€ข
1 Parent(s): 9fdb1a3

๐Ÿ› ๏ธ fix: fix luajit installation step

Browse files
.github/workflows/rust.yml CHANGED
@@ -21,9 +21,10 @@ jobs:
21
  - stable
22
 
23
  steps:
24
- - uses: leafo/gh-actions-lua@v10
25
- with:
26
- luaVersion: 'luajit'
 
27
  - uses: actions/checkout@v3
28
  - run: rustup toolchain install stable --profile minimal
29
  - uses: Swatinem/rust-cache@v2
 
21
  - stable
22
 
23
  steps:
24
+ - name: Install LuaJIT and Lua
25
+ run: |
26
+ sudo apt-get update
27
+ sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
28
  - uses: actions/checkout@v3
29
  - run: rustup toolchain install stable --profile minimal
30
  - uses: Swatinem/rust-cache@v2
.github/workflows/rust_format.yml CHANGED
@@ -13,9 +13,10 @@ jobs:
13
  name: Rust project
14
  runs-on: ubuntu-latest
15
  steps:
16
- - uses: leafo/gh-actions-lua@v10
17
- with:
18
- luaVersion: 'luajit'
 
19
  - uses: actions/checkout@v2
20
  - name: Install minimal stable with clippy and rustfmt
21
  uses: actions-rs/toolchain@v1
 
13
  name: Rust project
14
  runs-on: ubuntu-latest
15
  steps:
16
+ - name: Install LuaJIT and Lua
17
+ run: |
18
+ sudo apt-get update
19
+ sudo apt-get install -y --no-install-recommends liblua5.4-dev liblua5.3-dev liblua5.2-dev liblua5.1-0-dev libluajit-5.1-dev
20
  - uses: actions/checkout@v2
21
  - name: Install minimal stable with clippy and rustfmt
22
  uses: actions-rs/toolchain@v1