Skip to content

Commit

Permalink
test arch container
Browse files Browse the repository at this point in the history
  • Loading branch information
bim9262 committed Feb 10, 2024
1 parent 1c09bb6 commit e198a98
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Docs

on:
push:
branches:
branches:
- master

env:
Expand All @@ -12,14 +12,15 @@ jobs:
default:

runs-on: ubuntu-latest

container:
image: archlinux
steps:
- uses: dtolnay/rust-toolchain@stable
- name: Version information
run: rustc --version; cargo --version
- name: Get required packages
run: sudo apt-get update && sudo apt-get install libsensors-dev libssl-dev libpulse-dev libnotmuch-dev
run: pacman --noconfirm --noprogressbar -Syu base-devel clang git libpipewire libpulse lm_sensors notmuch openssl
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Generate docs
run: cargo doc --all-features --no-deps
- name: Create index.html
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
container:
image: archlinux
strategy:
fail-fast: false
matrix:
Expand All @@ -22,7 +24,7 @@ jobs:
]
steps:
- name: Get required packages
run: sudo apt-get update && sudo apt-get install libsensors-dev libssl-dev libpulse-dev libnotmuch-dev
run: pacman --noconfirm --noprogressbar -Syu base-devel clang git libpipewire libpulse lm_sensors notmuch openssl pre-commit
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ words:
- dbus
- ddcci
- ddcutil
- devel
- dmenu
- docsrs
- dtolnay
Expand Down Expand Up @@ -95,9 +96,11 @@ words:
- NLMSG
- nlmsghdr
- nmtui
- noconfirm
- NOFLAGS
- noheader
- NOPASSWD
- noprogressbar
- notif
- Noto
- NZXT
Expand Down
1 change: 1 addition & 0 deletions doc/manual_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- `libsensors-dev`
- `libpulse-dev` (required for `pulseaudio` driver of sound block, compile with `--no-default-features` to opt-out)
- `libnotmuch-dev` (required for optional `notmuch` block, compile with `--features notmuch` to opt-in)
- `libpipewire-0.3-dev` and `clang` (required for optional `pipewire` block, compile with `--features pipewire` to opt-in)

Compilation is only tested with very recent stable versions of `rustc`. If you use a distro with older Rust packages, consider using [rustup](https://rustup.rs/) to install a newer toolchain.

Expand Down

0 comments on commit e198a98

Please sign in to comment.