diff --git a/.github/workflows/ccpp.yml b/.github/workflows/cmake.yml similarity index 91% rename from .github/workflows/ccpp.yml rename to .github/workflows/cmake.yml index 2229f83..b23e2ed 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/cmake.yml @@ -1,4 +1,4 @@ -name: C/C++ CI +name: C/C++ CI cmake on: [push] diff --git a/.github/workflows/qmake.yml b/.github/workflows/qmake.yml new file mode 100644 index 0000000..037403a --- /dev/null +++ b/.github/workflows/qmake.yml @@ -0,0 +1,14 @@ +name: C/C++ CI qmake + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: jurplel/install-qt-action@v4 + - name: qmake + run: mkdir build && cd build && qmake ../multimon-ng.pro diff --git a/multimon-ng.pro b/multimon-ng.pro index 9b65f85..62070ac 100644 --- a/multimon-ng.pro +++ b/multimon-ng.pro @@ -3,7 +3,7 @@ CONFIG += console CONFIG -= qt CONFIG -= app_bundle DEFINES += MAX_VERBOSE_LEVEL=3 -QMAKE_CFLAGS += -std=gnu99 +QMAKE_CFLAGS += -std=gnu11 QMAKE_CFLAGS += -g # For profiling isEmpty(PREFIX) {