comparison .github/workflows/build.yml @ 37:b283e2d60deb v1.1

Minor changes to GitHub Actions workflow
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Sun, 17 Apr 2022 03:07:54 -0400
parents c517cf837d95
children 0fa325f60f07
comparison
equal deleted inserted replaced
36:4c5f3d8d31e1 37:b283e2d60deb
21 with: 21 with:
22 msystem: ${{matrix.sys}} 22 msystem: ${{matrix.sys}}
23 install: >- 23 install: >-
24 make 24 make
25 mingw-w64-${{matrix.env}}-clang 25 mingw-w64-${{matrix.env}}-clang
26
26 - uses: actions/checkout@v2 27 - uses: actions/checkout@v2
28
27 - name: make 29 - name: make
28 run: | 30 run: |
29 export CC=clang 31 export CC=clang
30 make 32 make
31 make gui 33 make gui
32 strip msvpvf.exe 34 strip msvpvf.exe
33 strip gui.exe 35 strip gui.exe
36
34 - name: Upload artifact 37 - name: Upload artifact
35 uses: actions/upload-artifact@v2 38 uses: actions/upload-artifact@v2
36 with: 39 with:
37 name: msvpvf-win-${{matrix.env}}-${{ github.sha }} 40 name: msvpvf-win-${{matrix.env}}-${{ github.sha }}
38 path: | 41 path: |
42 LICENSE
39 gui.exe 43 gui.exe
40 msvpvf.exe 44 msvpvf.exe
45
41 build-mac: 46 build-mac:
42 runs-on: macOS-latest 47 runs-on: macOS-latest
43 steps: 48 steps:
49 - name: Install "dependencies"
50 run: brew install zip
51
44 - uses: actions/checkout@v2 52 - uses: actions/checkout@v2
53
45 - name: make 54 - name: make
46 run: | 55 run: |
47 make 56 make
48 strip msvpvf 57 strip msvpvf
49 gzip -k msvpvf 58 zip msvpvf.zip msvpvf LICENSE
59
50 - name: Upload artifact 60 - name: Upload artifact
51 uses: actions/upload-artifact@v2 61 uses: actions/upload-artifact@v2
52 with: 62 with:
53 name: msvpvf-osx-${{ github.sha }} 63 name: msvpvf-osx-${{ github.sha }}
54 path: | 64 path: |
55 msvpvf.gz 65 msvpvf.zip