cicd: add ci workflow

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/561/head
Xinwei Xiong(cubxxw-openim) 2 years ago
parent a8838407b8
commit 2b660afced
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE

@ -60,11 +60,11 @@ jobs:
- name: Run go modules tidy - name: Run go modules tidy
run: | run: |
make tidy sudo make tidy
- name: Run go format - name: Run go format
run: | run: |
make format sudo make format
echo "Run go format successfully" echo "Run go format successfully"
continue-on-error: true continue-on-error: true
@ -72,18 +72,13 @@ jobs:
# run: | # run: |
# make generate # make generate
# - name: Check syntax and styling of go sources
# run: |
# set -e
# make lint
# - name: Run unit test and get test coverage # - name: Run unit test and get test coverage
# run: | # run: |
# make cover # make cover
- name: Build source code for host platform - name: Build source code for host platform
run: | run: |
make build sudo make build
echo "Build source code for host platform successfully" echo "Build source code for host platform successfully"
# - name: Collect Test Coverage File # - name: Collect Test Coverage File
@ -116,4 +111,4 @@ jobs:
- name: Run OpenIM make install start - name: Run OpenIM make install start
run: | run: |
make install sudo make install
Loading…
Cancel
Save