mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Merge branch 'qml' of https://github.com/cmclark00/retro-imager into qml
This commit is contained in:
commit
45bf4a683c
2 changed files with 46 additions and 20 deletions
42
.github/workflows/build-ubuntu-deb.yml
vendored
42
.github/workflows/build-ubuntu-deb.yml
vendored
|
@ -1,22 +1,24 @@
|
||||||
name: Build Ubuntu .deb
|
name: Build on Linux
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "qml" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "qml" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
arch: [x64, arm64]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up QEMU
|
||||||
- name: Install dependencies
|
uses: docker/setup-qemu-action@v2
|
||||||
run: sudo apt install -y build-essential devscripts debhelper cmake git libarchive-dev libcurl4-gnutls-dev
|
- name: Set up Docker Buildx
|
||||||
qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev libqt5svg5-dev qttools5-dev libgnutls28-dev
|
uses: docker/setup-buildx-action@v2
|
||||||
qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtgraphicaleffects
|
- name: Install Dependencies
|
||||||
|
run: sudo apt-get install -y cmake make gcc g++ libssl-dev
|
||||||
- name: Build
|
- name: Build
|
||||||
run: debuild -uc -us
|
run: |
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
|
||||||
|
make
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: linux-${{ matrix.arch }}-binaries
|
||||||
|
path: build/*
|
||||||
|
|
24
.github/workflows/main.yml
vendored
Normal file
24
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: Build on Linux
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
arch: [x64, arm64]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v2
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v2
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: sudo apt-get install -y cmake make gcc g++ libssl-dev
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc
|
||||||
|
make
|
||||||
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: linux-${{ matrix.arch }}-binaries
|
||||||
|
path: build/*
|
Loading…
Add table
Add a link
Reference in a new issue