Skip to content

Commit

Permalink
feat: initial CI for toml rock
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Nov 23, 2023
0 parents commit d14a8db
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
Empty file.
Empty file.
35 changes: 35 additions & 0 deletions .github/workflows/build-toml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on: [workflow_dispatch]

jobs:
test:
runs-on: ${{ matrix.os.host }}
strategy:
matrix:
os:
- host: ubuntu-20.04
- host: windows-2019
- host: macos-11
steps:
- name: Install Lua
uses: leafo/gh-actions-lua@v10
with:
luaVersion: "luajit-2.0.5"
- name: Install Luarocks
uses: actions/checkout@v4
with:
fetch-depth: 1
repository: https://github.com/luarocks/luarocks
- name: Configure and Install Luarocks
run: |
./configure --prefix=$HOME/rocks/ --lua-version=5.1 --force-config
make install
- name: Install TOML Package
run: |
./rocks/bin/luarocks --local install toml
./rocks/bin/luarocks pack toml
- uses: actions/upload-artifact@v3
with:
name: output
path: *.rock

0 comments on commit d14a8db

Please sign in to comment.