From 064c4889115bb083d35875309ebf3ab62191d1d4 Mon Sep 17 00:00:00 2001 From: Razish Date: Thu, 12 Oct 2023 23:52:12 +1100 Subject: [PATCH] install scons via pip on windows runners --- .github/workflows/build.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index afad2a0..0de1716 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}