From 44ea48c1c33eb8cd23daa048bdabce97b21e2442 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Wed, 12 Jul 2023 12:01:06 +0800 Subject: [PATCH] feat: build multiarch Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .github/workflows/golangci-link.yml | 4 ++-- .github/workflows/openim-ci.yml | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/golangci-link.yml b/.github/workflows/golangci-link.yml index 057dcff74..c5fdd7b1b 100644 --- a/.github/workflows/golangci-link.yml +++ b/.github/workflows/golangci-link.yml @@ -17,8 +17,8 @@ name: OpenKF golangci-lint on: push: branches: [main] - pull_request: - branches: [main] +# pull_request: +# branches: [main] jobs: golangci: name: lint diff --git a/.github/workflows/openim-ci.yml b/.github/workflows/openim-ci.yml index 525f07226..a388ab114 100644 --- a/.github/workflows/openim-ci.yml +++ b/.github/workflows/openim-ci.yml @@ -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