Mercurial > msvpvf
annotate .github/workflows/build.yml @ 30:fa7bd08be944
???
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Fri, 08 Apr 2022 00:04:15 -0400 |
parents | ee96b991e033 |
children | c517cf837d95 |
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: >- |
23
ee96b991e033
Update build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
22
diff
changeset
|
24 make |
22
767ff60628bd
Update build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
21
diff
changeset
|
25 mingw-w64-${{matrix.env}}-clang |
21
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
26 - uses: actions/checkout@v2 |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
27 - name: make |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
28 run: | |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
29 make |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
30 make gui |
22
767ff60628bd
Update build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
21
diff
changeset
|
31 strip msvpvf.exe |
767ff60628bd
Update build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
21
diff
changeset
|
32 strip gui.exe |
21
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
33 - name: Upload artifact |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
34 uses: actions/upload-artifact@v2 |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
35 with: |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
36 name: msvpvf-win-${{matrix.env}}-${{ github.sha }} |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
37 path: | |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
38 gui.exe |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
39 msvpvf.exe |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
40 build-mac: |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
41 runs-on: macOS-latest |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
42 steps: |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
43 - uses: actions/checkout@v2 |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
44 - name: make |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
45 run: | |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
46 make |
22
767ff60628bd
Update build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
21
diff
changeset
|
47 strip msvpvf |
21
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
48 gzip -k msvpvf |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
49 - name: Upload artifact |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
50 uses: actions/upload-artifact@v2 |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
51 with: |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
52 name: msvpvf-osx-${{ github.sha }} |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
53 path: | |
1125d4a53a99
Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff
changeset
|
54 msvpvf.gz |