Skip to content

Commit

Permalink
CI: Switch to xmake dev
Browse files Browse the repository at this point in the history
Fixes a bug in XMake 2.9.1
see xmake-io/xmake#5025
  • Loading branch information
SirLynix committed Apr 29, 2024
1 parent 3b66f49 commit 5d8be3e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
uses: xmake-io/github-action-setup-xmake@v1
with:
actions-cache-folder: .xmake-cache-W${{ steps.cache_key.outputs.key }}
xmake-version: branch@dev # fixes a bug in xmake 2.9.1

# Setup NDK
- name: Download NDK
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
uses: xmake-io/github-action-setup-xmake@v1
with:
actions-cache-folder: .xmake-cache-W${{ steps.cache_key.outputs.key }}
xmake-version: branch@dev # fixes a bug in xmake 2.9.1

# Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ios-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
uses: xmake-io/github-action-setup-xmake@v1
with:
actions-cache-folder: .xmake-cache-W${{ steps.cache_key.outputs.key }}
xmake-version: branch@dev # fixes a bug in xmake 2.9.1

# Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
uses: xmake-io/github-action-setup-xmake@v1
with:
actions-cache-folder: .xmake-cache-W${{ steps.cache_key.outputs.key }}
xmake-version: branch@dev # fixes a bug in xmake 2.9.1

# Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
uses: xmake-io/github-action-setup-xmake@v1
with:
actions-cache-folder: .xmake-cache-W${{ steps.cache_key.outputs.key }}
xmake-version: branch@dev # fixes a bug in xmake 2.9.1

# Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/msys2-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ jobs:
- name: Set xmake env
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV

# Update xmake to nightly (fixes a bug in xmake 2.9.1)
- name: Update xmake to dev
run: xmake update -s dev

# Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository
run: xmake repo --update
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/wasm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
uses: xmake-io/github-action-setup-xmake@v1
with:
actions-cache-folder: .xmake-cache-W${{ steps.cache_key.outputs.key }}
xmake-version: branch@dev # fixes a bug in xmake 2.9.1

# Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
# Install xmake
- name: Setup xmake
uses: xmake-io/github-action-setup-xmake@v1

with:
xmake-version: branch@dev # fixes a bug in xmake 2.9.1

# Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository
run: xmake repo --update
Expand Down

0 comments on commit 5d8be3e

Please sign in to comment.