diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-03-04 13:28:35 +0100 |
|---|---|---|
| committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-03-04 14:00:28 +0100 |
| commit | 23a9b345172da87e701a1569547cea0767ea9d93 (patch) | |
| tree | c67c7397b680e793abaa207c76f7883ab0a776fd | |
| parent | f687fbfdc341207bb6a3124000c6019c44735deb (diff) | |
| download | luasystem-23a9b345172da87e701a1569547cea0767ea9d93.tar.gz luasystem-23a9b345172da87e701a1569547cea0767ea9d93.tar.bz2 luasystem-23a9b345172da87e701a1569547cea0767ea9d93.zip | |
fix(ci): forcefully uninstall bundled luasystem
| -rw-r--r-- | .github/workflows/build.yml | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74b7026..4c28016 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -99,13 +99,14 @@ jobs: | |||
| 99 | with: | 99 | with: |
| 100 | luarocksVersion: "3.11.0" | 100 | luarocksVersion: "3.11.0" |
| 101 | 101 | ||
| 102 | - name: install | ||
| 103 | run: | | ||
| 104 | luarocks make | ||
| 105 | |||
| 106 | - name: test dependencies | 102 | - name: test dependencies |
| 107 | run: | | 103 | run: | |
| 108 | luarocks install busted | 104 | luarocks install busted |
| 105 | luarocks remove luasystem --force | ||
| 106 | |||
| 107 | - name: install | ||
| 108 | run: | | ||
| 109 | luarocks make | ||
| 109 | 110 | ||
| 110 | - name: test | 111 | - name: test |
| 111 | run: | | 112 | run: | |
| @@ -123,9 +124,10 @@ jobs: | |||
| 123 | usesh: true | 124 | usesh: true |
| 124 | prepare: | | 125 | prepare: | |
| 125 | pkg install -y lua54-luarocks | 126 | pkg install -y lua54-luarocks |
| 127 | luarocks54 install busted | ||
| 128 | luarocks54 remove luasystem --force | ||
| 126 | run: | | 129 | run: | |
| 127 | LUA_VERSION=5.4 luarocks54 make | 130 | LUA_VERSION=5.4 luarocks54 make |
| 128 | luarocks54 install busted | ||
| 129 | busted --exclude-tags=manual --Xoutput "--color" | 131 | busted --exclude-tags=manual --Xoutput "--color" |
| 130 | 132 | ||
| 131 | openbsd: | 133 | openbsd: |
| @@ -140,9 +142,10 @@ jobs: | |||
| 140 | usesh: true | 142 | usesh: true |
| 141 | prepare: | | 143 | prepare: | |
| 142 | pkg_add luarocks-lua54 | 144 | pkg_add luarocks-lua54 |
| 145 | luarocks-5.4 install busted | ||
| 146 | luarocks-5.4 remove luasystem --force | ||
| 143 | run: | | 147 | run: | |
| 144 | LUA_VERSION=5.4 luarocks-5.4 make | 148 | LUA_VERSION=5.4 luarocks-5.4 make |
| 145 | luarocks-5.4 install busted | ||
| 146 | busted --exclude-tags=manual --Xoutput "--color" | 149 | busted --exclude-tags=manual --Xoutput "--color" |
| 147 | 150 | ||
| 148 | netbsd: | 151 | netbsd: |
| @@ -159,7 +162,10 @@ jobs: | |||
| 159 | export PATH=/usr/pkg/bin:/usr/pkg/sbin:/usr/sbin:$PATH | 162 | export PATH=/usr/pkg/bin:/usr/pkg/sbin:/usr/sbin:$PATH |
| 160 | env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg_add -v pkgin | 163 | env ASSUME_ALWAYS_YES=YES /usr/sbin/pkg_add -v pkgin |
| 161 | pkgin -y update | 164 | pkgin -y update |
| 162 | pkgin -y install lua54-rocks lua54-busted | 165 | pkgin -y install lua54-rocks |
| 166 | luarocks-5.4 install busted | ||
| 167 | luarocks-5.4 remove luasystem --force | ||
| 163 | run: | | 168 | run: | |
| 169 | eval `luarocks-5.4 path` | ||
| 164 | luarocks-5.4 make | 170 | luarocks-5.4 make |
| 165 | busted --exclude-tags=manual --Xoutput "--color" | 171 | busted --exclude-tags=manual --Xoutput "--color" |
