Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Jul 24, 2024
1 parent 6da93ea commit 6da9221
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install system dependencies
run: sh ./script/install-linux-deps.sh
run: script/bootstrap
- name: Setup | Cache Cargo
uses: actions/[email protected]
with:
Expand Down
8 changes: 8 additions & 0 deletions script/bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
echo "Install Linux dependencies..."
script/install-linux-deps.sh
else
echo "Install macOS dependencies..."
fi
4 changes: 4 additions & 0 deletions script/install-linux-deps
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

sudo apt-get update
sudo apt-get install -y gcc g++ clang fontconfig-devel wayland-devel libwebkit2gtk-4.1-dev libxkbcommon-x11-devel openssl-devel vulkan-loader
2 changes: 0 additions & 2 deletions script/install-linux-deps.sh

This file was deleted.

0 comments on commit 6da9221

Please sign in to comment.