Skip to content

Commit

Permalink
add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 authored Dec 11, 2023
1 parent 655a736 commit d30474e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: build

on:
push:
branches: ["*"]
pull_request:

jobs:
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
install: >-
base-devel
git
mingw-w64-x86_64-gcc
mingw-w64-x86_64-cmake
mingw-w64-x86_64-ninja
mingw-w64-x86_64-mpv
update: true
- name: Build
shell: msys2 {0}
run: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=RELEASE -G Ninja ..
cmake --build .
- uses: actions/upload-artifact@v3
with:
name: menu
path: build/menu.dll

0 comments on commit d30474e

Please sign in to comment.