Mercurial > msvpvf
view .github/workflows/build.yml @ 32:c517cf837d95
export CC
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Fri, 08 Apr 2022 00:19:10 -0400 |
parents | ee96b991e033 |
children | b283e2d60deb |
line wrap: on
line source
name: msvpvf CI on: push: pull_request: jobs: build-win: runs-on: windows-latest defaults: run: shell: msys2 {0} strategy: matrix: include: - { sys: mingw64, env: x86_64 } - { sys: mingw32, env: i686 } steps: - name: Setup MSYS2 uses: msys2/setup-msys2@v2 with: msystem: ${{matrix.sys}} install: >- make mingw-w64-${{matrix.env}}-clang - uses: actions/checkout@v2 - name: make run: | export CC=clang make make gui strip msvpvf.exe strip gui.exe - name: Upload artifact uses: actions/upload-artifact@v2 with: name: msvpvf-win-${{matrix.env}}-${{ github.sha }} path: | gui.exe msvpvf.exe build-mac: runs-on: macOS-latest steps: - uses: actions/checkout@v2 - name: make run: | make strip msvpvf gzip -k msvpvf - name: Upload artifact uses: actions/upload-artifact@v2 with: name: msvpvf-osx-${{ github.sha }} path: | msvpvf.gz