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:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -7,6 +7,8 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
CI:
|
CI:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
env:
|
||||||
|
GALLIUM_DUMP_CPU: true
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -37,3 +39,10 @@ jobs:
|
|||||||
run: meson test -C build --print-errorlogs
|
run: meson test -C build --print-errorlogs
|
||||||
- name: Install
|
- name: Install
|
||||||
run: meson install -C build
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user