Skip to content

Commit 556f535

Browse files
committed
CI/node-management: update to support macos
1 parent a4948b3 commit 556f535

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/test-docs-scripts-node-management.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,19 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
os: [ubuntu-22.04, ubuntu-24.04]
17+
os: [ubuntu-22.04, ubuntu-24.04, macos-latest]
1818

1919
steps:
2020
- name: Checkout repository
2121
uses: actions/checkout@v5
2222

23+
- name: Install Docker on macOS
24+
if: runner.os == 'macOS'
25+
run: |
26+
brew install docker
27+
brew install colima
28+
colima start
29+
2330
- name: Test build-info-docker script
2431
run: |
2532
bash website/docs/node-operators/scripts/build-info-docker.sh
@@ -41,12 +48,18 @@ jobs:
4148
runs-on: ${{ matrix.os }}
4249
strategy:
4350
matrix:
44-
os: [ubuntu-22.04, ubuntu-24.04]
51+
os: [ubuntu-22.04, ubuntu-24.04, macos-latest]
4552

4653
steps:
4754
- name: Checkout repository
4855
uses: actions/checkout@v5
4956

57+
- name: Install timeout on macOS
58+
if: runner.os == 'macOS'
59+
run: |
60+
brew install coreutils
61+
sudo ln -s /opt/homebrew/bin/gtimeout /usr/local/bin/timeout || sudo ln -s /usr/local/bin/gtimeout /usr/local/bin/timeout
62+
5063
- name: Create test environment
5164
run: |
5265
mkdir -p mina-workdir/producer-key

0 commit comments

Comments
 (0)