mirror of
https://github.com/sudoxnym/open-hyperion.git
synced 2026-07-14 07:51:50 +00:00
Attempt Linux CI
This commit is contained in:
parent
96f376af54
commit
de4f73db55
2 changed files with 52 additions and 0 deletions
|
|
@ -19,6 +19,38 @@ before_script:
|
||||||
- apt update
|
- apt update
|
||||||
- apt install -y build-essential qtcreator qt5-default qtdeclarative5-dev qtwebengine5-dev libusb-1.0-0-dev libhidapi-dev pkgconf wget git
|
- apt install -y build-essential qtcreator qt5-default qtdeclarative5-dev qtwebengine5-dev libusb-1.0-0-dev libhidapi-dev pkgconf wget git
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Linux (AppImage) 32-bit Build Target #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
build_linux_32:
|
||||||
|
<<: *ccache_init
|
||||||
|
image: i386/ubuntu:bionic
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- export $(dpkg-architecture)
|
||||||
|
- ./scripts/build-plugin.sh
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- libOpenRGBE131ReceiverPlugin.so.1.0.0
|
||||||
|
expire_in: 30 days
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Linux (AppImage) 64-bit Build Target #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
build_linux_64:
|
||||||
|
<<: *ccache_init
|
||||||
|
image: ubuntu:bionic
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- export $(dpkg-architecture)
|
||||||
|
- ./scripts/build-plugin.sh
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- libOpenRGBE131ReceiverPlugin.so.1.0.0
|
||||||
|
expire_in: 30 days
|
||||||
|
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
# Windows (32-bit) Build Target #
|
# Windows (32-bit) Build Target #
|
||||||
#-----------------------------------------------------------------------#
|
#-----------------------------------------------------------------------#
|
||||||
|
|
|
||||||
20
scripts/build-plugin.sh
Executable file
20
scripts/build-plugin.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# OpenRGB E1.31 Receiver Plugin Build Script #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
|
||||||
|
set -x
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Configure build files with qmake #
|
||||||
|
# we need to explicitly set the install prefix, as qmake's default is #
|
||||||
|
# /usr/local for some reason... #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
qmake .
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
# Build project and install files into AppDir #
|
||||||
|
#-----------------------------------------------------------------------#
|
||||||
|
make -j$(nproc)
|
||||||
Loading…
Reference in a new issue