Skip to content

Commit

Permalink
Add sudo for dependencies install
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipK committed Sep 27, 2021
1 parent aeb1251 commit 8434f78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: Swatinem/[email protected]
- name: dependencies
run: |
apt-get install -y libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libpng-dev libgl1-mesa-dev libglu1-mesa-dev
sudo apt-get install -y libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libpng-dev libgl1-mesa-dev libglu1-mesa-dev
- name: Test
run: |
cargo test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_on_v_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install dependencies
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
apt-get install -y libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libpng-dev libgl1-mesa-dev libglu1-mesa-dev
sudo apt-get install -y libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libpng-dev libgl1-mesa-dev libglu1-mesa-dev
- name: Build Release Version
run: cargo build --release
- name: Compress binaries
Expand Down

0 comments on commit 8434f78

Please sign in to comment.