Skip to content

update github workflow #4

update github workflow

update github workflow #4

Workflow file for this run

name: CMake Windows
on:
push:
branches: [ "master", "windows-setup" ]
pull_request:
branches: [ "master" ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: >-
mingw-w64-x86_64-cmake
mingw-w64-x86_64-ninja
mingw-w64-x86_64-gcc
mingw-w64-x86_64-vala
mingw-w64-x86_64-libgee
mingw-w64-x86_64-poppler
mingw-w64-x86_64-gtk3
mingw-w64-x86_64-gstreamer
mingw-w64-x86_64-gst-plugins-base
mingw-w64-x86_64-json-glib
mingw-w64-x86_64-libsoup
mingw-w64-x86_64-qrencode
mingw-w64-x86_64-discount
mingw-w64-x86_64-nsis
#- name: Install NSIS
# run: Install-Binary -Url "https://downloads.sourceforge.net/project/nsis/NSIS%203/3.09/nsis-3.09-setup.exe" -Name "nsis-3.09-setup.exe" -ArgumentList ('/S')
- name: Build
run: cd windows-setup && ./package.sh