Skip to content

Commit

Permalink
Merge pull request #126 from pinnacle-comp/grpc
Browse files Browse the repository at this point in the history
Move Lua configuration to gRPC
  • Loading branch information
Ottatop authored Jan 17, 2024
2 parents 186d435 + 073ad2f commit e458ce6
Show file tree
Hide file tree
Showing 92 changed files with 6,258 additions and 3,992 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ldoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

jobs:
build:
name: Build docs
build-docs:
name: Build Lua docs
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -39,12 +39,13 @@ jobs:
- name: Setup dependencies
run: luarocks install ldoc
- name: Generate LDoc compatible code
run: cd ./ldoc_gen && cargo run -- -p ../api/lua
run: mv ldoc_gen .. && cd ../ldoc_gen && cargo run -- -p ../pinnacle/api/lua
- name: Build docs
run: cd ./ldoc_gen/.ldoc_gen && cp ../../api/lua/ldoc.css ../../api/lua/config.ld . && ldoc . && cd ../..
run: cd ../ldoc_gen/.ldoc_gen && cp ../../pinnacle/resources/ldoc.css ../../pinnacle/resources/config.ld . && ldoc .
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./ldoc_gen/.ldoc_gen/doc
publish_dir: ../ldoc_gen/.ldoc_gen/doc
destination_dir: ${{ env.BRANCH_NAME }}/lua
# force_orphan: true
8 changes: 7 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ jobs:
- name: Cache stuff maybe
uses: Swatinem/rust-cache@v2
- name: Get dependencies
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler
- name: Setup Lua
uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4"
- name: Setup Lua Rocks
uses: leafo/gh-actions-luarocks@v4
- name: Build
run: cargo build --verbose
- name: Run tests that don't exist
Expand Down
Loading

0 comments on commit e458ce6

Please sign in to comment.