Use rlgl
authorAnthony Green <green@moxielogic.com>
Thu, 9 Feb 2023 15:31:22 +0000 (10:31 -0500)
committerAnthony Green <green@moxielogic.com>
Thu, 9 Feb 2023 15:31:22 +0000 (10:31 -0500)
.github/workflows/emscripten.yml

index 75a7c21a4aebc4ce93f9e48060bcc9b2eb0b06e5..aa1a2ca2b4ed2a8dea6c4ae6091545767a54e090 100644 (file)
@@ -124,7 +124,7 @@ jobs:
           name: built-tests
           path: |
             ./testsuite/libffi.c*/
-  
+
   test:
     strategy:
       matrix:
@@ -161,17 +161,11 @@ jobs:
               -k ${{ matrix.browser }} \
               -s
 
-      - name: Test Report
-        uses: dorny/test-reporter@v1
-        if: success() || failure()
-        with:
-          name: pytest results ${{ matrix.bigint }}  ${{ matrix.browser }}
-          path: testsuite/emscripten/test-results/junit.xml
-          reporter: java-junit
-
-      - name: Store test results
-        uses: actions/upload-artifact@v3
+      - name: Install rlgl and run
         if: success() || failure()
-        with:
-          name: test-results
-          path: testsuite/emscripten/test-results
+        run: |
+          wget -qO - https://rl.gl/cli/rlgl-linux-amd64.tgz | \
+               tar --strip-components=2 -xvzf - ./rlgl/rlgl;
+          ./rlgl l --key=0LIBFFI-0LIBFFI-0LIBFFI-0LIBFFI https://rl.gl
+          ./rlgl e -l project=libffi -l sha=${GITHUB_SHA:0:7} -l CC='emscripten' -l build-host=${{ matrix.browser }} --policy=https://github.com/libffi/rlgl-policy.git testsuite/emscripten/test-results/junit.xml
+          exit $?