wdc-utils/.github/workflows/msys2.yml

36 lines
796 B
YAML
Raw Normal View History

2020-11-17 20:45:51 +00:00
name: MSYS2 build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
2020-11-17 21:11:46 +00:00
with:
submodules: true
2020-11-17 20:45:51 +00:00
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
path-type: strict
2020-11-17 21:07:41 +00:00
install: make gcc mingw32/mingw-w64-i686-gcc mingw64/mingw-w64-x86_64-gcc
2020-11-17 20:45:51 +00:00
# Runs a single command using the runners shell
- name: Make MINGW32
run: |
set MSYSTEM=MINGW32
msys2 -c 'make'
2020-11-17 20:51:01 +00:00
- name: Make MINGW64
run: |
set MSYSTEM=MINGW64
msys2 -c 'make'
- name: Make MSYS2
run: |
set MSYSTEM=MSYS2
msys2 -c 'make'