Skip to content

Commit

Permalink
CI WIP ...
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydlobo committed Oct 18, 2024
1 parent 5d64e99 commit bcd215d
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,24 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Nix
- name: Install Lua
run: |
sh <(curl -L https://nixos.org/nix/install) --no-daemon
sudo apt-get update
sudo apt-get install -y lua5.3 liblua5.3-dev
- name: Setup Nix Environment
- name: Install LuaRocks
run: |
nix-env -iA nixpkgs.luarocks nixpkgs.busted nixpkgs.luassert
wget https://luarocks.org/releases/luarocks-3.8.0.tar.gz
tar zxpf luarocks-3.8.0.tar.gz
cd luarocks-3.8.0
./configure --with-lua-include=/usr/include/lua5.3
make
sudo make install
- name: Install Busted and LuaAssert
run: |
sudo luarocks install busted
sudo luarocks install luassert
- name: Run tests
run: |
Expand Down

0 comments on commit bcd215d

Please sign in to comment.