-
-
Notifications
You must be signed in to change notification settings - Fork 62
46 lines (46 loc) · 1.68 KB
/
msys2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
inputs:
release:
type: boolean
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.release }}
cancel-in-progress: true
name: Windows
jobs:
msys2:
name: "Windows Builder"
runs-on: windows-latest
# if: ${{ false }}
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
with:
lfs: 'true'
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
install: git make zip wget unzip mingw-w64-x86_64-meson mingw-w64-x86_64-gcc mingw-w64-x86_64-vala mingw-w64-x86_64-libsoup3 mingw-w64-x86_64-libxml2 mingw-w64-x86_64-gtksourceview5 mingw-w64-x86_64-webp-pixbuf-loader mingw-w64-x86_64-libadwaita mingw-w64-x86_64-libgee mingw-w64-x86_64-json-glib mingw-w64-x86_64-libsecret mingw-w64-x86_64-desktop-file-utils mingw-w64-x86_64-imagemagick mingw-w64-x86_64-icu mingw-w64-x86_64-libspelling mingw-w64-x86_64-gstreamer mingw-w64-x86_64-gst-plugins-base mingw-w64-x86_64-gst-plugins-good mingw-w64-x86_64-nsis
- run: make windows release=1
if: ${{ inputs.release }}
- run: make windows
if: ${{ !inputs.release }}
- uses: actions/upload-artifact@v4
with:
name: tuba_windows_portable
path: tuba_windows_portable/
- run: make windows_nsis release=1
if: ${{ inputs.release }}
- run: make windows_nsis
if: ${{ !inputs.release }}
- uses: actions/upload-artifact@v4
with:
name: Tuba Setup.exe
path: nsis/Tuba Setup.exe
- run: sha256sum nsis/Tuba\ Setup.exe