Fix MinGW ci (#371)
This commit is contained in:
14
.github/workflows/msys2-build.yml
vendored
14
.github/workflows/msys2-build.yml
vendored
@@ -53,9 +53,13 @@ jobs:
|
||||
|
||||
# Install xmake
|
||||
- name: Setup xmake
|
||||
uses: xmake-io/github-action-setup-xmake@v1
|
||||
with:
|
||||
xmake-version: branch@dev
|
||||
run: |
|
||||
git clone https://github.com/xmake-io/xmake.git --recurse-submodules -b dev xmake_git
|
||||
cd xmake_git
|
||||
make build
|
||||
make install PREFIX=/${{ matrix.msystem }}
|
||||
xmake --version
|
||||
cd ..
|
||||
|
||||
# Update xmake repository (in order to have the file that will be cached)
|
||||
- name: Update xmake repository
|
||||
@@ -79,7 +83,7 @@ jobs:
|
||||
|
||||
# Build the engine
|
||||
- name: Build Nazara
|
||||
run: xmake -v
|
||||
run: xmake
|
||||
|
||||
# Run unit tests
|
||||
- name: Run unit tests
|
||||
@@ -94,4 +98,4 @@ jobs:
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.mode }}
|
||||
path: package
|
||||
path: package
|
||||
Reference in New Issue
Block a user