Skip to content

Commit ddbc7b1

Browse files
committed
Update msys2-build.yml
1 parent e5b8261 commit ddbc7b1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/msys2-build.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,19 @@ jobs:
5050
- uses: msys2/setup-msys2@v2
5151
with:
5252
msystem: ${{ matrix.msystem }}
53-
install: base-devel git unzip p7zip mingw-w64-${{ matrix.arch }}-toolchain mingw-w64-${{ matrix.arch }}-xmake
53+
install: base-devel git unzip p7zip mingw-w64-${{ matrix.arch }}-toolchain
5454
update: true
5555

5656
# Update xmake to nightly (fixes a bug in xmake 2.9.1)
57-
- name: Update xmake to dev
58-
run: xmake update -s dev
57+
- name: Install xmake dev
58+
shell: msys2 {0}
59+
run: |
60+
git clone https://github.com/xmake-io/xmake.git --recurse-submodules -b dev
61+
cd xmake
62+
./configure
63+
make -j4
64+
make install PREFIX=/${{ matrix.msystem }}
65+
xmake --version
5966
6067
# Force xmake to a specific folder (for cache)
6168
- name: Set xmake env

0 commit comments

Comments
 (0)