Module: Mesa
Branch: main
Commit: e04d4f881e167f9f6594cb79477bd3e9a11d81ce
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e04d4f881e167f9f6594cb79477bd3e9a11d81ce

Author: Yonggang Luo <[email protected]>
Date:   Tue Aug  2 04:17:34 2022 +0800

ci: Improve MacOS github ci

GALLIUM_DUMP_CPU=true to see dump result
Save the testing log artifacts

Signed-off-by: Yonggang Luo <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17879>

---

 .github/workflows/ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7b15e7f49e4..a172bea3e31 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,6 +7,8 @@ permissions:
 jobs:
   CI:
     runs-on: macos-latest
+    env:
+      GALLIUM_DUMP_CPU: true
     steps:
     - name: Checkout
       uses: actions/checkout@v3
@@ -37,3 +39,10 @@ jobs:
       run: meson test -C build --print-errorlogs
     - name: Install
       run: meson install -C build
+    - name: 'Upload Artifact'
+      if: always()
+      uses: actions/upload-artifact@v3
+      with:
+        name: test-result
+        path: build/meson-logs/testlog.txt
+        retention-days: 5

Reply via email to