mirror of
https://github.com/martravi/wiiqt.git
synced 2024-11-22 00:59:18 +01:00
Add GitHub Action
This commit is contained in:
parent
39df8e8efc
commit
fa89f97b27
37
.github/workflows/build.yml
vendored
Normal file
37
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
name: Build
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
project:
|
||||||
|
[
|
||||||
|
{ folder: "breft_editor", target: "breft" },
|
||||||
|
{ folder: "nand_dump", target: "nand" },
|
||||||
|
{ folder: "nandBinCheck", target: "nandBinCheck" },
|
||||||
|
{ folder: "nandExtract", target: "nandExtract" },
|
||||||
|
{ folder: "ohneschwanzenegger", target: "refleurii" },
|
||||||
|
{ folder: "punetwiin", target: "punetween" },
|
||||||
|
{ folder: "symbolizer", target: "symbolizer" },
|
||||||
|
]
|
||||||
|
fail-fast: false
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup dependencies
|
||||||
|
run: |
|
||||||
|
sudo add-apt-repository ppa:rock-core/qt4 -y
|
||||||
|
sudo apt install qt4-dev-tools libqt4-dev libqtcore4 libqtgui4 g++ -y
|
||||||
|
|
||||||
|
- name: Compile
|
||||||
|
run: |
|
||||||
|
cd ${{ matrix.project.folder }}
|
||||||
|
qmake -qt=qt4 ${{ matrix.project.target }}.pro
|
||||||
|
make -f Makefile
|
Loading…
Reference in New Issue
Block a user