Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EvandroLG authored Jan 6, 2024
1 parent 60bc4a5 commit 5d409d6
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2

- name: Install Lua
run: sudo apt-get install lua5.3
- name: Install Lua
run: sudo apt-get install lua5.3

- name: Install Luarocks
run: sudo apt-get install luarocks
- name: Install Lua development files
run: sudo apt-get install liblua5.3-dev

- name: Install dependencies
run: sudo make install_dependencies
- name: Install Luarocks
run: |
sudo apt-get install luarocks
- name: Run unit tests
run: |
make test
- name: Configure Lua header files for Luarocks
run: |
sudo luarocks config --lua-version=5.3 --with-lua-include=/usr/include/lua5.3
- name: Install dependencies
run: sudo make install_dependencies

- name: Run unit tests
run: |
make test

0 comments on commit 5d409d6

Please sign in to comment.