Skip to content

Commit 983ff17

Browse files
committed
[ci] add macOS support and capture Docker output in build-hash workflow
1 parent eb18164 commit 983ff17

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build-hash.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
build:
88
strategy:
99
matrix:
10-
os: [ubuntu-22.04, ubuntu-24.04]
10+
os: [ubuntu-22.04, ubuntu-24.04, macos-13, macos-15]
1111
runs-on: ${{ matrix.os }}
1212
name: ${{ matrix.os }}
1313
steps:
@@ -23,4 +23,6 @@ jobs:
2323
MOPS_VERSION=0.0.0
2424
cd cli
2525
docker build . --build-arg COMMIT_HASH=${{ github.sha }} --build-arg MOPS_VERSION=$MOPS_VERSION -t mops
26-
docker run --rm mops || echo "."
26+
OUTPUT=$(docker run --rm mops || echo ".")
27+
echo "**${{ matrix.os }}:**" >> $GITHUB_STEP_SUMMARY
28+
echo "$OUTPUT" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)