From 3e5d7f9018e898a93577eb22830d32d3b5863394 Mon Sep 17 00:00:00 2001 From: martravi Date: Fri, 19 Jul 2024 16:39:14 +0200 Subject: [PATCH] add git workflow --- .github/workflows/build.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..01898c4 --- /dev/null +++ b/.github/workflows/build.yml @@ -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