mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-11 23:57:12 +08:00
cicd: add ci workflow
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
parent
a8838407b8
commit
2b660afced
13
.github/workflows/openim-ci.yml
vendored
13
.github/workflows/openim-ci.yml
vendored
@ -60,11 +60,11 @@ jobs:
|
||||
|
||||
- name: Run go modules tidy
|
||||
run: |
|
||||
make tidy
|
||||
sudo make tidy
|
||||
|
||||
- name: Run go format
|
||||
run: |
|
||||
make format
|
||||
sudo make format
|
||||
echo "Run go format successfully"
|
||||
continue-on-error: true
|
||||
|
||||
@ -72,18 +72,13 @@ jobs:
|
||||
# run: |
|
||||
# make generate
|
||||
|
||||
# - name: Check syntax and styling of go sources
|
||||
# run: |
|
||||
# set -e
|
||||
# make lint
|
||||
|
||||
# - name: Run unit test and get test coverage
|
||||
# run: |
|
||||
# make cover
|
||||
|
||||
- name: Build source code for host platform
|
||||
run: |
|
||||
make build
|
||||
sudo make build
|
||||
echo "Build source code for host platform successfully"
|
||||
|
||||
# - name: Collect Test Coverage File
|
||||
@ -116,4 +111,4 @@ jobs:
|
||||
|
||||
- name: Run OpenIM make install start
|
||||
run: |
|
||||
make install
|
||||
sudo make install
|
||||
Loading…
x
Reference in New Issue
Block a user