akvirtualcamera/.github/workflows/windows-msys.yml

48 lines
962 B
YAML
Raw Normal View History

name: Windows MSYS
on: [push, pull_request]
2021-08-03 15:32:54 +00:00
env:
2021-08-03 19:01:34 +00:00
DISABLE_CCACHE: 1
2021-08-03 15:32:54 +00:00
NJOBS: 4
jobs:
build:
runs-on: windows-latest
defaults:
run:
2021-10-29 22:36:31 +00:00
shell: msys2 {0}
2021-08-03 15:32:54 +00:00
strategy:
max-parallel: 10
fail-fast: false
matrix:
include:
- compiler: gcc
- compiler: clang
env:
COMPILER: ${{ matrix.compiler }}
2021-08-03 16:38:16 +00:00
steps:
2021-06-25 19:47:12 +00:00
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
update: true
2021-10-29 22:36:31 +00:00
msystem: mingw64
install: >-
2021-08-03 15:32:54 +00:00
ccache
clang
cmake
git
make
pkgconf
python3
mingw-w64-x86_64-binutils
mingw-w64-i686-binutils
mingw-w64-x86_64-cmake
mingw-w64-i686-cmake
mingw-w64-x86_64-pkgconf
mingw-w64-i686-pkgconf
- name: Build
2021-06-25 15:48:53 +00:00
run: ./ports/ci/windows-msys/build.sh
- name: Deploy
2021-06-25 15:48:53 +00:00
run: ./ports/ci/windows-msys/deploy.sh