-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: separate workflow file for each os/architecture
this prevents commit conflicts
- Loading branch information
Showing
4 changed files
with
148 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Build Dependencies | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
- name: Install C/C++ Compiler | ||
uses: rlalik/setup-cpp-compiler@master | ||
with: | ||
compiler: clang-latest | ||
- name: Install Rust Toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@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: Print environment | ||
run: | | ||
printenv | ||
- name: Install `luarocks-build-rust-mlua` Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install luarocks-build-rust-mlua | ||
luarocks --verbose pack luarocks-build-rust-mlua | ||
- name: Install TOML Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install toml | ||
luarocks --verbose pack toml | ||
- name: Install `toml-edit` Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install toml-edit | ||
luarocks --verbose pack toml-edit | ||
- name: Regenerate Manifests and HTML | ||
run: luarocks-admin make-manifest --lua-version=5.1 . | ||
- name: commit-linux-x86_64 | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore: update linux-x86_64 build artifacts" | ||
file_pattern: "*.rock manifest* index.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build Dependencies | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-11 | ||
needs: commit-macosx-aarch64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
- name: Install C/C++ Compiler | ||
uses: rlalik/setup-cpp-compiler@master | ||
with: | ||
compiler: clang-latest | ||
- name: Install Rust Toolchain (macos) | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
rustflags: "-C link-arg=-undefined -C link-arg=dynamic_lookup" | ||
- name: Install Lua | ||
uses: leso-kn/gh-actions-lua@master | ||
with: | ||
luaVersion: "5.1" | ||
- name: Install Luarocks | ||
uses: hishamhm/gh-actions-luarocks@master | ||
- name: Print environment | ||
run: | | ||
printenv | ||
- name: Install `luarocks-build-rust-mlua` Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install luarocks-build-rust-mlua | ||
luarocks --verbose pack luarocks-build-rust-mlua | ||
- name: Install TOML Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install toml | ||
luarocks --verbose pack toml | ||
- name: Install `toml-edit` Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install toml-edit | ||
luarocks --verbose pack toml-edit | ||
- name: Regenerate Manifests and HTML | ||
run: luarocks-admin make-manifest --lua-version=5.1 . | ||
- name: commit-macosx-x86_64 | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore: update macosx-x86_64 build artifacts" | ||
file_pattern: "*.rock manifest* index.html" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build Dependencies | ||
|
||
on: [push, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2019 | ||
needs: commit-macosx-x86_64 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
- 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 Rust Toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@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: Print environment | ||
run: | | ||
printenv | ||
- name: Install `luarocks-build-rust-mlua` Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install luarocks-build-rust-mlua | ||
luarocks --verbose pack luarocks-build-rust-mlua | ||
- name: Install TOML Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install toml | ||
luarocks --verbose pack toml | ||
- name: Install `toml-edit` Package | ||
run: | | ||
luarocks --verbose --local --lua-version=5.1 install toml-edit | ||
luarocks --verbose pack toml-edit | ||
- name: Regenerate Manifests and HTML | ||
run: luarocks-admin make-manifest --lua-version=5.1 . | ||
- name: commit-win32-x86_64 | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "chore: update win32-x86_64 build artifacts" | ||
file_pattern: "*.rock manifest* index.html" |