mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-07 13:11:03 +02:00
ci: ubuntu_setup.sh
This commit is contained in:
parent
1dbd933705
commit
d65df93e32
5 changed files with 39 additions and 23 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -32,9 +32,7 @@ jobs:
|
|||
name: Cache dependencies
|
||||
|
||||
- name: Install build deps
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libgtk-3-dev libgtk-layer-shell-dev libpulse-dev
|
||||
run: ./.github/scripts/ubuntu_setup.sh
|
||||
|
||||
- name: Clippy
|
||||
run: cargo clippy --no-default-features --features config+json
|
||||
|
@ -53,9 +51,7 @@ jobs:
|
|||
name: Cache dependencies
|
||||
|
||||
- name: Install build deps
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libgtk-3-dev libgtk-layer-shell-dev libpulse-dev
|
||||
run: ./.github/scripts/ubuntu_setup.sh
|
||||
|
||||
- name: Clippy
|
||||
run: cargo clippy --all-targets --all-features
|
||||
|
@ -72,9 +68,7 @@ jobs:
|
|||
name: Cache dependencies
|
||||
|
||||
- name: Install build deps
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install libgtk-3-dev libgtk-layer-shell-dev libpulse-dev
|
||||
run: ./.github/scripts/ubuntu_setup.sh
|
||||
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
|
@ -82,4 +76,4 @@ jobs:
|
|||
- name: Run tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
command: test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue