Skip to content

Commit

Permalink
feat(ci): add builders for all other packages
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Nov 23, 2023
1 parent 3a947b2 commit 1efb71a
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/build-luarocks-rust-build-mlua.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build `luarocks-rust-build-mlua` Dependency

on: [push, 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 C/C++ Compiler
uses: rlalik/setup-cpp-compiler@master
with:
compiler: clang-latest
- name: Install MSVC Compiler Toolchain
uses: ilammy/msvc-dev-cmd@v1
- name: Install Lua
uses: leso-kn/gh-actions-lua@master
with:
luaVersion: "5.1"
- name: Install Luarocks
uses: hishamhm/gh-actions-luarocks@master
- name: Install `luarocks-build-rust-mlua` Package
run: |
luarocks --local install luarocks-build-rust-mlua
luarocks pack luarocks-build-rust-mlua
- uses: actions/upload-artifact@v3
with:
name: output-${{ matrix.os.host }}.rock
path: "*.rock"
36 changes: 36 additions & 0 deletions .github/workflows/build-toml-edit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build `toml-edit` Dependency

on: [push, 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 C/C++ Compiler
uses: rlalik/setup-cpp-compiler@master
with:
compiler: clang-latest
- name: Install MSVC Compiler Toolchain
uses: ilammy/msvc-dev-cmd@v1
- name: Install Lua
uses: leso-kn/gh-actions-lua@master
with:
luaVersion: "5.1"
- name: Install Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install Luarocks
uses: hishamhm/gh-actions-luarocks@master
- name: Install `toml-edit` Package
run: |
luarocks --local install toml-edit
luarocks pack toml-edit
- uses: actions/upload-artifact@v3
with:
name: output-${{ matrix.os.host }}.rock
path: "*.rock"
2 changes: 1 addition & 1 deletion .github/workflows/build-toml.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Build `toml` Dependency

on: [push, workflow_dispatch]

Expand Down

0 comments on commit 1efb71a

Please sign in to comment.