annotate .github/workflows/build.yml @ 48:652343b56a60

Remove the need for <inttypes.h> and <stdbool.h>
author Paper <mrpapersonic@gmail.com>
date Sun, 22 May 2022 00:08:10 -0400
parents b283e2d60deb
children 0fa325f60f07
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: >-
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
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
26
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
27 - uses: actions/checkout@v2
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
28
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
29 - name: make
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
30 run: |
32
c517cf837d95 export CC
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 23
diff changeset
31 export CC=clang
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
32 make
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
33 make gui
22
767ff60628bd Update build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 21
diff changeset
34 strip msvpvf.exe
767ff60628bd Update build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 21
diff changeset
35 strip gui.exe
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
36
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
37 - name: Upload artifact
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
38 uses: actions/upload-artifact@v2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
39 with:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
40 name: msvpvf-win-${{matrix.env}}-${{ github.sha }}
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
41 path: |
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
42 LICENSE
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
43 gui.exe
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
44 msvpvf.exe
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
45
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
46 build-mac:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
47 runs-on: macOS-latest
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
48 steps:
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
49 - name: Install "dependencies"
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
50 run: brew install zip
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
51
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
52 - uses: actions/checkout@v2
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
53
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
54 - name: make
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
55 run: |
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
56 make
22
767ff60628bd Update build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 21
diff changeset
57 strip msvpvf
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
58 zip msvpvf.zip msvpvf LICENSE
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
59
21
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
60 - name: Upload artifact
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
61 uses: actions/upload-artifact@v2
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
62 with:
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
63 name: msvpvf-osx-${{ github.sha }}
1125d4a53a99 Create build.yml
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents:
diff changeset
64 path: |
37
b283e2d60deb Minor changes to GitHub Actions workflow
Paper <37962225+mrpapersonic@users.noreply.github.com>
parents: 32
diff changeset
65 msvpvf.zip