Update openimci.yml (#1610)

* Update openimci.yml

* Update Makefile
This commit is contained in:
Xinwei Xiong 2023-12-26 12:16:55 +08:00 committed by GitHub
parent 7389639f17
commit 47dd6b17f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -207,6 +207,12 @@ jobs:
sudo make check || \
(echo "An error occurred, printing logs:" && sudo cat ./_output/logs/* 2>/dev/null)
- name: Restart Services and Print Logs for Ubuntu
if: runner.os == 'Linux'
run: |
sudo make restart
sudo make check
# - name: Build, Start, Check Services and Print Logs for macOS
# if: runner.os == 'macOS'
# run: |
@ -239,4 +245,4 @@ jobs:
- name: Test Docker Build
run: |
sudo make init
sudo make image
sudo make image

View File

@ -95,7 +95,7 @@ stop:
## restart: Restart openim (make init configuration file is initialized) ✨
.PHONY: restart
restart: clean stop build init start check
restart: clean stop build start check
## multiarch: Build binaries for multiple platforms. See option PLATFORMS. ✨
.PHONY: multiarch