]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Try new action
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 21 Feb 2020 18:28:50 +0000 (19:28 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 21 Feb 2020 18:28:50 +0000 (19:28 +0100)
.github/workflows/linux.yml

index 551ccbfd0f3ecba17245679687348ebecdfc9f72..2e392d0deb48e31fd9408b837e97ece1794fcaaa 100644 (file)
@@ -18,18 +18,31 @@ jobs:
         double: [0, 1]
 
     steps:
-    - uses: actions/checkout@v1
-    - name: submodules
-      run: git submodule update --init util ast
-    - name: make
-      env:
-         USE_DOUBLE: ${{ matrix.double }}
-         CFLAGS: -fsanitize=address -fno-omit-frame-pointer
-         LDFLAGS: -fsanitize=address -fno-omit-frame-pointer
-      run: make CC=${{ matrix.cc }} USE_DOUBLE=${{ matrix.double }}
-    - name: make test ${{ runner.temp }}
+    - name: Create testing directory
+      run: mkdir GWION_TEST_DIR=${{ runner.temp }}/test
+
+    - uses: fennecdjay/gwion-action
       env:
+        CC: ${{ matrix.cc }}
+        USE_DOUBLE: ${{ matrix.double }}
+        CFLAGS: -fsanitize=address -fno-omit-frame-pointer
+        LDFLAGS: -fsanitize=address -fno-omit-frame-pointer
         VALGRIND: NO_VALGRIND
         USE_MEMCHECK: 0
         SEVERITY: 3
-      run: export GWION_TEST_DIR=${{ runner.temp }}/tmp/test; mkdir $GWION_TEST_DIR && make test
+        GWION_TEST_DIR: ${{ runner.temp }}/test
+#    - uses: actions/checkout@v1
+#    - name: submodules
+#      run: git submodule update --init util ast
+#    - name: make
+#      env:
+#         USE_DOUBLE: ${{ matrix.double }}
+#         CFLAGS: -fsanitize=address -fno-omit-frame-pointer
+#         LDFLAGS: -fsanitize=address -fno-omit-frame-pointer
+#      run: make CC=${{ matrix.cc }} USE_DOUBLE=${{ matrix.double }}
+#    - name: make test ${{ runner.temp }}
+#      env:
+#        VALGRIND: NO_VALGRIND
+#        USE_MEMCHECK: 0
+#        SEVERITY: 3
+#      run: export GWION_TEST_DIR=${{ runner.temp }}/tmp/test; mkdir $GWION_TEST_DIR && make test