From 87546f9b601954588a98aa5b6e59e9a4662a9123 Mon Sep 17 00:00:00 2001 From: vampirefrog Date: Sun, 17 Nov 2024 16:05:45 +0200 Subject: [PATCH] Create msys2-mingw64.yml --- .github/workflows/msys2-mingw64.yml | 33 +++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/msys2-mingw64.yml diff --git a/.github/workflows/msys2-mingw64.yml b/.github/workflows/msys2-mingw64.yml new file mode 100644 index 0000000..11bf1c9 --- /dev/null +++ b/.github/workflows/msys2-mingw64.yml @@ -0,0 +1,33 @@ +name: MSYS2 MINGW64 Build + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + msys2-mingw64: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: msys2/setup-msys2@v2 + with: + msystem: MINGW64 + update: true + install: git make pkg-config mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-libzip + - name: Build with make + run: make + - name: Set outputs + id: vars + run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + - name: Upload build artifact + uses: actions/upload-artifact@v4 + with: + name: vgm2x-${{steps.vars.outputs.sha_short}} + path: '*.exe'