Use rlgl
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml
index 75a7c21..aa1a2ca 100644
--- a/.github/workflows/emscripten.yml
+++ b/.github/workflows/emscripten.yml
@@ -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 $?