annotate .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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
1 name: msvpvf CI
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
3 on:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
4 push:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
5 pull_request:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
6
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
7 jobs:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
8 build-win:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
9 runs-on: windows-latest
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
10 defaults:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
11 run:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
12 shell: msys2 {0}
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
13 strategy:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
14 matrix:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
15 include:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
16 - { sys: mingw64, env: x86_64 }
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
17 - { sys: mingw32, env: i686 }
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
18 steps:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
19 - name: Setup MSYS2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
20 uses: msys2/setup-msys2@v2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
21 with:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
22 msystem: ${{matrix.sys}}
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
23 install: >-
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
24 xdelta3
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
25 wget
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
26 p7zip
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
27 - uses: actions/checkout@v2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
28 - name: make
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
29 run: |
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
30 make
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
31 make gui
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
32 - name: Upload artifact
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
33 uses: actions/upload-artifact@v2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
34 with:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
35 name: msvpvf-win-${{matrix.env}}-${{ github.sha }}
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
36 path: |
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
37 gui.exe
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
38 msvpvf.exe
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
39 build-mac:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
40 runs-on: macOS-latest
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
41 steps:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
42 - uses: actions/checkout@v2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
43 - name: make
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
44 run: |
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
45 make
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
46 gzip -k msvpvf
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
47 - name: Upload artifact
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
48 uses: actions/upload-artifact@v2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
49 with:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
50 name: msvpvf-osx-${{ github.sha }}
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
51 path: |
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
52 msvpvf.gz