Skip to content

Commit

Permalink
install scons via pip on windows runners
Browse files Browse the repository at this point in the history
  • Loading branch information
Razish committed Oct 12, 2023
1 parent 6d802d4 commit 064c488
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,14 @@ jobs:
Invoke-WebRequest "http://luarocks.github.io/luarocks/releases/luarocks-3.9.2-windows-64.zip" -OutFile luarocks.zip
Expand-Archive .\luarocks.zip .
cd .\luarocks-3.9.2-windows-64\
tree ${{ github.workspace }} /F
.\luarocks.exe config variables.LUA_DIR ${{ github.workspace }}/.lua/
.\luarocks.exe config variables.LUA_INCDIR ${{ github.workspace }}/.lua/include
.\luarocks.exe config variables.LUA_LIBDIR ${{ github.workspace }}/.lua/lib
.\luarocks.exe install luafilesystem
# - name: Install Lua
# working-directory: ${{ github.workspace }}
# run: winget install "lua for windows" --accept-source-agreements

# - name: Install Lua + Luarocks
# working-directory: ${{ github.workspace }}
# run: |
# wget "http://luarocks.github.io/luarocks/releases/luarocks-3.9.2-win32.zip" -o luarocks.zip
# Expand-Archive .\luarocks.zip .
# cd .\luarocks\luarocks-3.9.2-win32\
# .\win32\lua5.1\bin\lua5.1.exe .\install.bat /L /NOADMIN /P ..\lr-install
- name: Install Scons
working-directory: ${{ github.workspace }}
run: python -m pip install scons

- name: Build
working-directory: ${{ github.workspace }}
Expand Down

0 comments on commit 064c488

Please sign in to comment.