Skip to content

Commit

Permalink
Change the installation method of xmake
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasy-peak committed Jan 29, 2024
1 parent ea41a3c commit e4b14c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ubuntu-clang19.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ jobs:
cd /usr/lib64
sudo tar -xvf libcurl-impersonate-v0.5.4.x86_64-linux-gnu.tar.gz
cd -
curl -kfsSL https://xmake.io/shget.text | bash -s v2.8.6
# curl -kfsSL https://xmake.io/shget.text | bash -s v2.8.6
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v2.8.6

- name: checkout
uses: actions/checkout@v3
- name: build
run: |
export XMAKE_ROOT="y"
source ~/.xmake/profile
# source ~/.xmake/profile
g++-13 -v
clang++-19 -v
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ubuntu-gcc13.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,18 @@ jobs:
cd /usr/lib64
sudo tar -xvf libcurl-impersonate-v0.6.0-alpha.1.x86_64-linux-gnu.tar.gz
cd -
curl -kfsSL https://xmake.io/shget.text | bash -s v2.8.6
# curl -kfsSL https://xmake.io/shget.text | bash -s v2.8.6
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v2.8.6

- name: checkout
uses: actions/checkout@v3
- name: build
run: |
export XMAKE_ROOT="y"
source ~/.xmake/profile
# source ~/.xmake/profile
g++-13 -v
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/lib64:$LIBRARY_PATH
Expand Down

0 comments on commit e4b14c4

Please sign in to comment.