Procházet zdrojové kódy

Merge pull request #4 from adventurist/ci

Add CI to this project
Emmanuel Buckshi před 5 roky
rodič
revize
9ae7fdad0a
3 změnil soubory, kde provedl 12 přidání a 2 odebrání
  1. 2 0
      .circleci/Dockerfile
  2. 2 2
      .circleci/config.yml
  3. 8 0
      headers/kmessage.fbs

+ 2 - 0
.circleci/Dockerfile

@@ -0,0 +1,2 @@
+FROM jonathonf/manjaro:latest
+RUN pacman -Syu flatbuffers base-devel qt5-base --noconfirm

+ 2 - 2
.circleci/config.yml

@@ -2,13 +2,13 @@ version: 2.1
 jobs:
   compile:
     docker:
-      - image: vookimedlo/ubuntu-qt:latestDistroOfficial_gcc_bionic
+      - image: logicp/ky_gui:1.0.0
     steps:
       - checkout
       - run:
           name: compile
           command: |
-            /opt/qt/5.13.2/gcc_64/bin/qmake /data/c/ky_gui/ky_gui.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug && /usr/bin/make qmake_all
+            qmake ky_gui.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug && make -j8
       - store_artifacts:
           path: ky_gui
           destination: ky_gui

+ 8 - 0
headers/kmessage.fbs

@@ -0,0 +1,8 @@
+namespace KData;
+
+table Message {
+  id: int;
+  data: [ubyte];
+}
+
+root_type Message;