Jelajahi Sumber

.github: add CMake run

Kosma Moczek 3 tahun lalu
induk
melakukan
8e5aaabd03
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      .github/workflows/c-cpp.yml

+ 3 - 1
.github/workflows/c-cpp.yml

@@ -8,6 +8,8 @@ jobs:
     steps:
     - uses: actions/checkout@v3
     - name: Install dependencies
-      run: sudo apt-get install -y clang-tools check
+      run: sudo apt-get install -y clang-tools check cmake
     - name: make
       run: make
+    - name: cmake
+      run: "( rm -rf build && mkdir build && cd build && cmake .. && make && ./tests && echo OK )"