mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-11 23:57:12 +08:00
feat: build multiarch
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
parent
e3139688a8
commit
44ea48c1c3
4
.github/workflows/golangci-link.yml
vendored
4
.github/workflows/golangci-link.yml
vendored
@ -17,8 +17,8 @@ name: OpenKF golangci-lint
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
# pull_request:
|
||||
# branches: [main]
|
||||
jobs:
|
||||
golangci:
|
||||
name: lint
|
||||
|
||||
6
.github/workflows/openim-ci.yml
vendored
6
.github/workflows/openim-ci.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
go_version: ["1.18","1.19","1.20"]
|
||||
go_version: ["1.17","1.18","1.19","1.20"]
|
||||
os: [ubuntu-latest]
|
||||
|
||||
steps:
|
||||
@ -65,6 +65,7 @@ jobs:
|
||||
- name: Run go format
|
||||
run: |
|
||||
make format
|
||||
echo "Run go format successfully"
|
||||
|
||||
# - name: Generate all necessary files, such as error code files
|
||||
# run: |
|
||||
@ -81,7 +82,8 @@ jobs:
|
||||
|
||||
- name: Build source code for host platform
|
||||
run: |
|
||||
make build # skip build for now
|
||||
make multiarch
|
||||
echo "Build source code for host platform successfully"
|
||||
|
||||
# - name: Collect Test Coverage File
|
||||
# uses: actions/upload-artifact@v1.0.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user