mirror of
https://github.com/ksherlock/wdc-utils.git
synced 2024-06-09 20:29:34 +00:00
28 lines
606 B
YAML
28 lines
606 B
YAML
name: MSYS2 build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
msys: [MSYS2, MINGW32, MINGW64]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Setup MSYS2
|
|
uses: msys2/setup-msys2@v2
|
|
with:
|
|
path-type: strict
|
|
install: make gcc mingw32/mingw-w64-i686-gcc mingw64/mingw-w64-x86_64-gcc
|
|
|
|
# Runs a single command using the runners shell
|
|
- name: Make ${{ matrix.msys }}
|
|
run: |
|
|
set MSYSTEM=${{ matrix.msys }}
|
|
msys2 -c 'make'
|