2023-12-28 14:03:44 +00:00
|
|
|
name: Windows
|
2019-12-12 20:44:34 +00:00
|
|
|
|
2020-03-21 22:35:43 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2024-09-06 11:39:42 +00:00
|
|
|
- ci/*
|
2020-03-21 22:35:43 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2019-12-12 20:44:34 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: windows-latest
|
2021-03-06 19:37:51 +00:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
shell: msys2 {0}
|
2019-12-12 20:44:34 +00:00
|
|
|
steps:
|
2024-07-27 15:22:35 +00:00
|
|
|
- name: Check out sources
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set up MSYS2
|
|
|
|
uses: msys2/setup-msys2@v2
|
2021-03-06 19:37:51 +00:00
|
|
|
with:
|
2024-07-27 15:22:35 +00:00
|
|
|
msystem: ucrt64
|
|
|
|
update: true
|
|
|
|
pacboy: gcc:p cmake:p ninja:p make:p
|
|
|
|
- name: Set up vcpkg
|
|
|
|
uses: lukka/run-vcpkg@v11
|
|
|
|
with:
|
2024-09-06 11:39:42 +00:00
|
|
|
vcpkgGitCommitId: 3508985146f1b1d248c67ead13f8f54be5b4f5da
|
2019-12-12 20:44:34 +00:00
|
|
|
- name: Configure
|
2024-07-27 15:22:35 +00:00
|
|
|
run: cmake --preset=release-mingw-x86_64
|
|
|
|
- name: Build
|
|
|
|
run: cmake --build --preset=release-mingw-x86_64
|
|
|
|
- uses: actions/upload-artifact@v4
|
2019-12-13 03:06:57 +00:00
|
|
|
with:
|
2021-06-13 12:06:15 +00:00
|
|
|
name: melonDS-windows-x86_64
|
2024-07-27 15:22:35 +00:00
|
|
|
path: .\build\release-mingw-x86_64\melonDS.exe
|