Skip to content

Merge pull request #192 from lustryrose882/main #68

Merge pull request #192 from lustryrose882/main

Merge pull request #192 from lustryrose882/main #68

Workflow file for this run

name: Windows build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
strategy:
matrix:
include:
- {chain: mingw32, cc: gcc}
- {chain: mingw64, cc: gcc}
- {chain: clang64, cc: clang}
steps:
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.chain}}
install: make pkgconf
pacboy: ${{matrix.cc}}:p
- name: Compile .exe
run: |
export backends=gdi
export BINARY=activate-windows-${{matrix.chain}}.exe
make
- name: Upload .exe
uses: actions/upload-artifact@v4
with:
name: activate-windows-${{matrix.chain}}
path: activate-windows-${{matrix.chain}}.exe
merge:
runs-on: ubuntu-latest
needs: build
steps:
- name: Merge *.exe
uses: actions/upload-artifact/merge@v4
with:
name: activate-windows.exe
pattern: activate-windows-*
delete-merged: true
compression-level: 9