From 2d1ff2c11bebb02e22be0ca079035e6924ceb397 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong (cubxxw)" <3293172751nss@gmail.com> Date: Sat, 16 Dec 2023 20:46:22 +0800 Subject: [PATCH] fix: add mac os Signed-off-by: Xinwei Xiong (cubxxw) <3293172751nss@gmail.com> --- .github/workflows/openimci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index 2ddb0d1b0..2ca543ce7 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -165,17 +165,25 @@ jobs: echo "/usr/local/bin" >> $GITHUB_PATH echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH - - brew install --cask docker - open /Applications/Docker.app continue-on-error: true - - name: Docker Operations + - name: Set up Docker for Ubuntu + if: runner.os == 'Linux' run: | sudo make init sudo docker compose up -d sudo sleep 20 + - name: Set up Docker for macOS + if: runner.os == 'macOS' + run: | + brew install --cask docker + open /Applications/Docker.app + + brew install docker-compose + docker-compose up -d + sleep 20 + - name: Module Operations run: | sudo make tidy