Skip to content

Commit

Permalink
try fix not-found
Browse files Browse the repository at this point in the history
  • Loading branch information
jingkaimori committed Sep 30, 2023
1 parent cb3cecd commit 179c573
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/xmake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,19 @@ jobs:
env:
# Force xmake to a specific folder (for cache)
XMAKE_GLOBALDIR: "${{ github.workspace }}/.xmake-global"
NEEDRESTART_MODE: a
steps:
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v2.8.3
- name: update repo
run: |
xrepo update-repo
- name: (Linux) Install some necessary packages
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install libasound2-dev libpulse-mainloop-glib0
- uses: actions/checkout@v2
with:
fetch-depth: 1
Expand Down
2 changes: 1 addition & 1 deletion scripts/xmake/packages/linux.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

function add_all_requires()
if linuxos.name() == "ubuntu" then
add_requires({"apt::libasound2-dev", "apt::libpulse-mainloop-glib0"})
add_requires("apt::libasound2-dev")
if has_config("libraries-from-apt") then
add_requires("apt::libfluidsynth-dev", {alias = "fluidsynth"})
add_requires({
Expand Down

0 comments on commit 179c573

Please sign in to comment.