Update msys2-build.yml

This commit is contained in:
Jérôme Leclercq 2022-04-19 14:47:26 +02:00 committed by SirLynix
parent 3f53e4f86e
commit 993f4e7c78
1 changed files with 6 additions and 8 deletions

View File

@ -43,7 +43,9 @@ jobs:
update: true update: true
- name: Set mingw64 binaries in path - name: Set mingw64 binaries in path
run: echo "${MINGW_PREFIX}/bin" >> $GITHUB_PATH run: |
echo "${MINGW_PREFIX}/bin"
echo "D:/msys64/mingw64/bin" >> $GITHUB_PATH
# Force xmake to a specific folder (for cache) # Force xmake to a specific folder (for cache)
- name: Set xmake env - name: Set xmake env
@ -51,13 +53,9 @@ jobs:
# Install xmake # Install xmake
- name: Setup xmake - name: Setup xmake
run: | uses: xmake-io/github-action-setup-xmake@v1
git clone https://github.com/xmake-io/xmake.git --recurse-submodules -b dev xmake_git with:
cd xmake_git xmake-version: branch@dev
make build
make install PREFIX=/${{ matrix.msystem }}
xmake --version
cd ..
# Update xmake repository (in order to have the file that will be cached) # Update xmake repository (in order to have the file that will be cached)
- name: Update xmake repository - name: Update xmake repository