diff --git a/.github/workflows/build-luarocks-rust-build-mlua.yml b/.github/workflows/build-luarocks-rust-build-mlua.yml index e69de29bb..ff9628bab 100644 --- a/.github/workflows/build-luarocks-rust-build-mlua.yml +++ b/.github/workflows/build-luarocks-rust-build-mlua.yml @@ -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" diff --git a/.github/workflows/build-toml-edit.yml b/.github/workflows/build-toml-edit.yml index e69de29bb..eaf0ac43a 100644 --- a/.github/workflows/build-toml-edit.yml +++ b/.github/workflows/build-toml-edit.yml @@ -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" diff --git a/.github/workflows/build-toml.yml b/.github/workflows/build-toml.yml index c6f107b33..1fca94f4b 100644 --- a/.github/workflows/build-toml.yml +++ b/.github/workflows/build-toml.yml @@ -1,4 +1,4 @@ -name: CI +name: Build `toml` Dependency on: [push, workflow_dispatch]