comparison .github/workflows/build.yml @ 21:1125d4a53a99

Create build.yml
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Thu, 07 Apr 2022 02:52:57 -0400
parents
children 767ff60628bd
comparison
equal deleted inserted replaced
18:b5df3f47a30e 21:1125d4a53a99
1 name: msvpvf CI
2
3 on:
4 push:
5 pull_request:
6
7 jobs:
8 build-win:
9 runs-on: windows-latest
10 defaults:
11 run:
12 shell: msys2 {0}
13 strategy:
14 matrix:
15 include:
16 - { sys: mingw64, env: x86_64 }
17 - { sys: mingw32, env: i686 }
18 steps:
19 - name: Setup MSYS2
20 uses: msys2/setup-msys2@v2
21 with:
22 msystem: ${{matrix.sys}}
23 install: >-
24 xdelta3
25 wget
26 p7zip
27 - uses: actions/checkout@v2
28 - name: make
29 run: |
30 make
31 make gui
32 - name: Upload artifact
33 uses: actions/upload-artifact@v2
34 with:
35 name: msvpvf-win-${{matrix.env}}-${{ github.sha }}
36 path: |
37 gui.exe
38 msvpvf.exe
39 build-mac:
40 runs-on: macOS-latest
41 steps:
42 - uses: actions/checkout@v2
43 - name: make
44 run: |
45 make
46 gzip -k msvpvf
47 - name: Upload artifact
48 uses: actions/upload-artifact@v2
49 with:
50 name: msvpvf-osx-${{ github.sha }}
51 path: |
52 msvpvf.gz