-
-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3d445cc
commit b2aca1e
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: MSYS2 MinGW-w64 Windows 64bit Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- release | ||
- devel | ||
paths: | ||
- 'tiny_gltf.*' | ||
- 'CMakeLists.txt' | ||
- '.github/workflows/mingw-w64-msys2.yml' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
mingw-w64-msys2-build: | ||
name: MSYS2 MinGW-w64 Windows Build | ||
runs-on: windows-latest | ||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install core & build dependencies | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: UCRT64 | ||
install: base-devel | ||
pacboy: >- | ||
cc:p cmake:p ninja:p | ||
update: true | ||
release: false | ||
|
||
- name: Configure | ||
run: | | ||
cmake \ | ||
-G"Ninja" \ | ||
-S . \ | ||
-B build | ||
- name: Build | ||
run: | | ||
cmake --build build | ||