mirror of
https://github.com/simple64/simple64.git
synced 2026-09-11 14:52:44 +02:00
update gui
This commit is contained in:
+12
-7
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user