Skip to content

Commit

Permalink
chore: update doc workflow dependency (#153)
Browse files Browse the repository at this point in the history
* Testing Nix

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml

* Update doc.yml
  • Loading branch information
dklassic authored Aug 16, 2024
1 parent faaadb2 commit 093dca7
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,31 +18,22 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v4

- name: Install Rust
uses: dsherret/rust-toolchain-file@v1

- name: Install dependencies
run: |
sudo apt-get update
sudo apt install build-essential python3-pip ccache clang cmake curl \
g++ git gperf libdbus-1-dev libfreetype6-dev libgl1-mesa-dri \
libgles2-mesa-dev libglib2.0-dev libgstreamer-plugins-base1.0-dev \
gstreamer1.0-plugins-good libgstreamer-plugins-good1.0-dev \
gstreamer1.0-plugins-bad libgstreamer-plugins-bad1.0-dev \
gstreamer1.0-plugins-ugly gstreamer1.0-plugins-base \
libgstreamer-plugins-base1.0-dev gstreamer1.0-libav \
libgstrtspserver-1.0-dev gstreamer1.0-tools libges-1.0-dev \
libharfbuzz-dev liblzma-dev libunwind-dev libunwind-dev libvulkan1 \
libx11-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev \
libxmu-dev libxmu6 libegl1-mesa-dev llvm-dev m4 xorg-dev sway \
python3-mako
- name: Run sccache-cache
uses: Mozilla-Actions/[email protected]

- name: Configure cache
uses: Swatinem/rust-cache@v2

- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Setup Nix Shell
uses: rrbutani/use-nix-shell-action@v1
with:
file: shell.nix

- name: Clean docs folder
run: cargo clean --doc

Expand Down

0 comments on commit 093dca7

Please sign in to comment.