From 4c4d6492744b34cfd595e5b16959d62bb422f3d0 Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Mon, 15 Apr 2024 17:22:10 +0800 Subject: [PATCH] Show MacOS info --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2319addd..adf02184 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -118,6 +118,13 @@ jobs: git: https://github.com/cross-rs/cross.git rev: 085092c + - name: Show system info + if: ${{ contains(matrix.build, 'macos') }} + run: | + sysctl -n machdep.cpu.brand_string + sw_vers -productVersion + system_profiler SPSoftwareDataType + - name: Build id: build run: ${{ matrix.cargo }} build --verbose --target ${{ matrix.target }}