summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-08-02 04:17:34 +0800
committerMarge Bot <emma+marge@anholt.net>2022-08-12 19:04:35 +0000
commite04d4f881e167f9f6594cb79477bd3e9a11d81ce (patch)
treedcc22068b4786d69f9a7fd6cd31c38415097540a /.github
parent1f05b23b4f9a5ba2a3414f6d06675c93d707f84f (diff)
downloadmesa-e04d4f881e167f9f6594cb79477bd3e9a11d81ce.tar.gz
ci: Improve MacOS github ci
GALLIUM_DUMP_CPU=true to see dump result Save the testing log artifacts Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17879>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml9
1 files changed, 9 insertions, 0 deletions
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