diff options
author | cos <cos> | 2025-02-17 15:39:08 +0100 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-02-25 12:47:59 +0100 |
commit | afd939e6afa79932e96950539ce108ab2c644217 (patch) | |
tree | d6bac608066216c3744b01984cf73448164549a6 | |
parent | 4c0d462d533d257df1c2fc53c18a298c80ff14fe (diff) | |
download | luasystem-afd939e6afa79932e96950539ce108ab2c644217.tar.gz luasystem-afd939e6afa79932e96950539ce108ab2c644217.tar.bz2 luasystem-afd939e6afa79932e96950539ce108ab2c644217.zip |
ci: Add FreeBSD vmaction
-rw-r--r-- | .github/workflows/build.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55a05f5..dd28124 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -110,3 +110,20 @@ jobs: | |||
110 | - name: test | 110 | - name: test |
111 | run: | | 111 | run: | |
112 | busted --exclude-tags=manual --Xoutput "--color" | 112 | busted --exclude-tags=manual --Xoutput "--color" |
113 | |||
114 | freebsd: | ||
115 | runs-on: ubuntu-latest | ||
116 | name: Run tests on FreeBSD | ||
117 | steps: | ||
118 | - uses: actions/checkout@v4 | ||
119 | |||
120 | - name: Run tests inside FreeBSD VM | ||
121 | uses: vmactions/freebsd-vm@v1 | ||
122 | with: | ||
123 | usesh: true | ||
124 | prepare: | | ||
125 | pkg install -y lua54-luarocks | ||
126 | run: | | ||
127 | LUA_VERSION=5.4 luarocks54 make | ||
128 | luarocks54 install busted | ||
129 | busted --exclude-tags=manual --Xoutput "--color" | ||