update gui

This commit is contained in:
Logan McNaughton
2022-07-04 13:25:43 -06:00
parent abfe7e2d30
commit f1962e7d35
+12 -7
View File
@@ -1,28 +1,33 @@
name: Build project
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:
jobs:
build-linux:
runs-on: ubuntu-20.04
container: quay.io/centos/centos:stream9
container: registry.fedoraproject.org/fedora:latest
steps:
- uses: actions/checkout@v3
- name: Checkout core repo
uses: actions/checkout@v3
with:
repository: mupen64plus/mupen64plus-core
repository: loganmc10/mupen64plus-core
path: mupen64plus-core
ref: m64p
- name: Update and install packages
run: |
dnf -y update
dnf -y install qt5-qtwebsockets-devel SDL2-devel zlib-devel
dnf -y install qt6-qtwebsockets-devel SDL2-devel zlib-devel
- name: Run build script
run: |
echo "#define GUI_VERSION \"a12345\"" > version.h
mkdir build
cd build
qmake-qt5 ..
qmake ..
make
build-windows:
runs-on: windows-2022
@@ -39,12 +44,12 @@ jobs:
install: >-
make
mingw-w64-x86_64-SDL2
mingw-w64-x86_64-qt5
mingw-w64-x86_64-qt6
mingw-w64-x86_64-gcc
- name: Run build script
run: |
echo '#define GUI_VERSION "a12345"' > version.h
mkdir build
cd build
msys2 -c 'qmake ..'
msys2 -c 'qmake-qt6 ..'
msys2 -c 'make'