diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2022-07-15 16:46:10 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2022-07-15 16:56:42 -0300 |
| commit | 3c8d96b77fb40ebf79b3b447a05ebe10b53493a6 (patch) | |
| tree | f3abe5c335259f29f704a4c670f4cb4d651f2772 | |
| parent | 9cbe5cba9047b449308e1365690b0a5acfdef181 (diff) | |
| download | luafilesystem-3c8d96b77fb40ebf79b3b447a05ebe10b53493a6.tar.gz luafilesystem-3c8d96b77fb40ebf79b3b447a05ebe10b53493a6.tar.bz2 luafilesystem-3c8d96b77fb40ebf79b3b447a05ebe10b53493a6.zip | |
appveyor.yml: update pip, hererocks, add Lua 5.4
| -rw-r--r-- | appveyor.yml | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/appveyor.yml b/appveyor.yml index ddd651c..9717ebe 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
| @@ -1,17 +1,25 @@ | |||
| 1 | version: 0.0.1.{build}-test | 1 | version: 0.0.1.{build}-test |
| 2 | 2 | ||
| 3 | # Use default image unless needed | ||
| 4 | #os: | ||
| 5 | #- Windows Server 2012 R2 | ||
| 6 | |||
| 7 | shallow_clone: true | 3 | shallow_clone: true |
| 8 | 4 | ||
| 5 | matrix: | ||
| 6 | fast_finish: true | ||
| 7 | |||
| 9 | environment: | 8 | environment: |
| 10 | matrix: | 9 | matrix: |
| 11 | - LUA: "lua 5.1" | 10 | - LUAT: "lua" |
| 12 | - LUA: "lua 5.2 --compat none" | 11 | LUAV: "5.1" |
| 13 | - LUA: "lua 5.3 --compat none" | 12 | - LUAT: "lua" |
| 14 | - LUA: "luajit 2.1" | 13 | LUAV: "5.2" |
| 14 | HEREROCKS_FLAGS: "--compat none" | ||
| 15 | - LUAT: "lua" | ||
| 16 | LUAV: "5.3" | ||
| 17 | HEREROCKS_FLAGS: "--compat none" | ||
| 18 | - LUAT: "lua" | ||
| 19 | LUAV: "5.4" | ||
| 20 | HEREROCKS_FLAGS: "--compat none" | ||
| 21 | - LUAT: "luajit" | ||
| 22 | LUAV: "2.1" | ||
| 15 | 23 | ||
| 16 | # Abuse this section so we can have a matrix with different Compiler versions | 24 | # Abuse this section so we can have a matrix with different Compiler versions |
| 17 | configuration: | 25 | configuration: |
| @@ -19,14 +27,14 @@ configuration: | |||
| 19 | - vs_32 | 27 | - vs_32 |
| 20 | - vs_64 | 28 | - vs_64 |
| 21 | 29 | ||
| 22 | install: | ||
| 23 | - set PATH=%CD%\env\bin;C:\Python27\Scripts;C:\MinGW\bin;%PATH% | ||
| 24 | - pip install hererocks | ||
| 25 | - hererocks env --%LUA% --target %configuration% --luarocks latest | ||
| 26 | |||
| 27 | before_build: | 30 | before_build: |
| 28 | # @todo | 31 | - set PATH=C:\MinGW\bin;%PATH% |
| 29 | - echo "Installing external deps" | 32 | - set PATH=C:\Python37;C:\Python37\Scripts;%PATH% # Add directory containing 'pip' to PATH |
| 33 | - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install --upgrade certifi ) | ||
| 34 | - FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "import certifi;print(certifi.where())"`) DO ( SET SSL_CERT_FILE=%%F ) | ||
| 35 | - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( pip install hererocks ) | ||
| 36 | - IF NOT EXIST lua_install-%LUAV%\bin\activate.bat ( hererocks lua_install-%LUAV% --%LUAT% %LUAV% %HEREROCKS_FLAGS% --luarocks latest --target=%configuration% ) | ||
| 37 | - call lua_install-%LUAV%\bin\activate | ||
| 30 | 38 | ||
| 31 | build_script: | 39 | build_script: |
| 32 | - luarocks make | 40 | - luarocks make |
| @@ -37,5 +45,9 @@ test_script: | |||
| 37 | - echo "Testing..." | 45 | - echo "Testing..." |
| 38 | - lua tests/test.lua | 46 | - lua tests/test.lua |
| 39 | 47 | ||
| 40 | after_test: | 48 | cache: |
| 41 | # @todo | 49 | - lua_install-5.4 |
| 50 | - lua_install-5.3 | ||
| 51 | - lua_install-5.2 | ||
| 52 | - lua_install-5.1 | ||
| 53 | - lua_install-2.1 | ||
