Просмотр исходного кода

CI: Compile all binaries in bin/ to test compilation.

parazyd 4 лет назад
Родитель
Сommit
2b870588e7
2 измененных файлов с 7 добавлено и 0 удалено
  1. 4 0
      .github/workflows/ci.yml
  2. 3 0
      script/compile_all_bins.sh

+ 4 - 0
.github/workflows/ci.yml

@@ -33,6 +33,10 @@ jobs:
         run: |
           make test
 
+      - name: Compile all bins
+        run: |
+          ./scripts/compile_all_bins.sh
+
   feature-powerset:
     name: Test crate feature powerset on ${{ matrix.os }}
     runs-on: ${{ matrix.os }}

+ 3 - 0
script/compile_all_bins.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+bins="$(find bin -maxdepth 1 | tail -n+2 | sed 's,bin/,,' | tr '\n' ' ')"
+make BINS="$bins"