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>
This commit is contained in:
Yonggang Luo 2022-08-02 04:17:34 +08:00 committed by Marge Bot
parent 1f05b23b4f
commit e04d4f881e

View file

@ -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