mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-02-07 20:46:06 +01:00
Update CI for API testing
I like the part where he said "it's squashin' time" and squashed all over the git history Add xwayland to CI Add libegl to CI Add debug for test Don't run regular test when debugging Remove a dash Ya know I'd love to get act working so I don't have to push these every time I want to work on workflows but it always hangs when installing apt dependencies Add foot to CI Truly a genius at work here, I know
This commit is contained in:
parent
6d83e34868
commit
e3504038ee
1 changed files with 7 additions and 3 deletions
10
.github/workflows/ci.pinnacle.yml
vendored
10
.github/workflows/ci.pinnacle.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- name: Cache stuff
|
- name: Cache stuff
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler
|
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler xwayland libegl-dev
|
||||||
- name: Setup Lua
|
- name: Setup Lua
|
||||||
uses: leafo/gh-actions-lua@v10
|
uses: leafo/gh-actions-lua@v10
|
||||||
with:
|
with:
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
- name: Cache stuff
|
- name: Cache stuff
|
||||||
uses: Swatinem/rust-cache@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler
|
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler xwayland libegl-dev foot
|
||||||
- name: Setup Lua
|
- name: Setup Lua
|
||||||
uses: leafo/gh-actions-lua@v10
|
uses: leafo/gh-actions-lua@v10
|
||||||
with:
|
with:
|
||||||
|
@ -52,7 +52,11 @@ jobs:
|
||||||
- name: Setup LuaRocks
|
- name: Setup LuaRocks
|
||||||
uses: leafo/gh-actions-luarocks@v4
|
uses: leafo/gh-actions-luarocks@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
|
if: ${{ runner.debug != '1' }}
|
||||||
run: cargo test
|
run: cargo test
|
||||||
|
- name: Build (debug)
|
||||||
|
if: ${{ runner.debug == '1' }}
|
||||||
|
run: RUST_LOG=debug cargo test -- --nocapture
|
||||||
check-format:
|
check-format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Check formatting
|
name: Check formatting
|
||||||
|
@ -76,7 +80,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
components: clippy
|
components: clippy
|
||||||
- name: Get dependencies
|
- name: Get dependencies
|
||||||
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler
|
run: sudo apt update && sudo apt install libwayland-dev libxkbcommon-dev libudev-dev libinput-dev libgbm-dev libseat-dev libsystemd-dev protobuf-compiler xwayland libegl-dev
|
||||||
- name: Setup Lua
|
- name: Setup Lua
|
||||||
uses: leafo/gh-actions-lua@v10
|
uses: leafo/gh-actions-lua@v10
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue