summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci-hbmameui.yml
blob: 80ba7e5e48db4a926760adb210f1ca6bc8ab73d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: CI (HBMAMEUI)

on: [push]

jobs:

  build-windows-gcc:
    runs-on: windows-latest
    concurrency:
      group: ${{ github.workflow }}-${{ github.ref }}
      cancel-in-progress: true
    defaults:
      run:
        shell: msys2 {0}
    steps:
    - uses: msys2/setup-msys2@v2
      with:
        install: git make mingw-w64-x86_64-gcc mingw-w64-x86_64-python mingw-w64-x86_64-lld mingw-w64-x86_64-libc++
    - uses: actions/checkout@master
    - name: Build
      env:
        MINGW64: "/mingw64"
        PTR64: "1"
      run: make -j2 PTR64=1 OSD=winui TARGET=hbmame DEPRECATED=0 SYMBOLS=0 NO_SYMBOLS=1
    - uses: actions/upload-artifact@master
      with:
        name: hbmameui-windows-gcc-${{ github.sha }}
        path: hbmameui.exe