Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>pull/642/head
parent
4479d5588a
commit
ad56b0cc9c
@ -1,45 +1,45 @@
|
||||
# name: Check-Coverage
|
||||
name: Check-Coverage
|
||||
|
||||
# on:
|
||||
# workflow_dispatch:
|
||||
# push:
|
||||
# branches: [ "main" ]
|
||||
# paths-ignore:
|
||||
# - "docs/**"
|
||||
# - "**/*.md"
|
||||
# - "**/*.yaml"
|
||||
# - "CONTRIBUTORS"
|
||||
# - "CHANGELOG/**"
|
||||
# pull_request:
|
||||
# branches: [ "*" ]
|
||||
# paths-ignore:
|
||||
# - "docs/**"
|
||||
# - "**/*.md"
|
||||
# - "**/*.yaml"
|
||||
# - "CONTRIBUTORS"
|
||||
# - "CHANGELOG/**"
|
||||
# env:
|
||||
# # Common versions
|
||||
# GO_VERSION: "1.20"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**/*.md"
|
||||
- "**/*.yaml"
|
||||
- "CONTRIBUTORS"
|
||||
- "CHANGELOG/**"
|
||||
pull_request:
|
||||
branches: [ "*" ]
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**/*.md"
|
||||
- "**/*.yaml"
|
||||
- "CONTRIBUTORS"
|
||||
- "CHANGELOG/**"
|
||||
env:
|
||||
# Common versions
|
||||
GO_VERSION: "1.20"
|
||||
|
||||
# jobs:
|
||||
# coverage:
|
||||
# runs-on: ubuntu-20.04
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v3
|
||||
jobs:
|
||||
coverage:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
# - name: Setup Golang with cache
|
||||
# uses: magnetikonline/action-golang-cache@v3
|
||||
# with:
|
||||
# go-version: ${{ env.GO_VERSION }}
|
||||
# token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||
- name: Setup Golang with cache
|
||||
uses: magnetikonline/action-golang-cache@v3
|
||||
with:
|
||||
go-version: ${{ env.GO_VERSION }}
|
||||
|
||||
# - name: Install Dependencies
|
||||
# run: sudo apt update && sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev
|
||||
- name: Install Dependencies
|
||||
run: sudo apt update && sudo apt install -y libgpgme-dev libbtrfs-dev libdevmapper-dev
|
||||
|
||||
# - name: Run Cover
|
||||
# run: make cover
|
||||
- name: Run Cover
|
||||
run: make cover
|
||||
continue-on-error: true
|
||||
|
||||
# - name: Upload Coverage to Codecov
|
||||
# uses: codecov/codecov-action@v3
|
||||
- name: Upload Coverage to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
|
@ -1,2 +1,2 @@
|
||||
# name: OpenIM e2e Test
|
||||
|
||||
# name: OpenIM e2e Test
|
@ -1,11 +1,12 @@
|
||||
go build -o api.exe ../cmd/openim-api/main.go
|
||||
go build -o auth.exe ../cmd/openim-rpc/openim-rpc-auth/main.go
|
||||
go build -o conversation.exe ../cmd/openim-rpc/openim-rpc-conversation/main.go
|
||||
go build -o friend.exe ../cmd/openim-rpc/openim-rpc-friend/main.go
|
||||
go build -o group.exe ../cmd/openim-rpc/openim-rpc-group/main.go
|
||||
go build -o msg.exe ../cmd/openim-rpc/openim-rpc-msg/main.go
|
||||
go build -o third.exe ../cmd/openim-rpc/openim-rpc-third/main.go
|
||||
go build -o user.exe ../cmd/openim-rpc/openim-rpc-user/main.go
|
||||
go build -o push.exe ../cmd/openim-push/main.go
|
||||
go build -o msgtransfer.exe ../cmd/openim-msgtransfer/main.go
|
||||
go build -o msggateway.exe ../cmd/openim-msggateway/main.go
|
||||
set output_dir=%~dp0..\_output\bin\platforms\windows
|
||||
go build -o %output_dir%\api.exe ../cmd/openim-api/main.go
|
||||
go build -o %output_dir%\auth.exe ../cmd/openim-rpc/openim-rpc-auth/main.go
|
||||
go build -o %output_dir%\conversation.exe ../cmd/openim-rpc/openim-rpc-conversation/main.go
|
||||
go build -o %output_dir%\friend.exe ../cmd/openim-rpc/openim-rpc-friend/main.go
|
||||
go build -o %output_dir%\group.exe ../cmd/openim-rpc/openim-rpc-group/main.go
|
||||
go build -o %output_dir%\msg.exe ../cmd/openim-rpc/openim-rpc-msg/main.go
|
||||
go build -o %output_dir%\third.exe ../cmd/openim-rpc/openim-rpc-third/main.go
|
||||
go build -o %output_dir%\user.exe ../cmd/openim-rpc/openim-rpc-user/main.go
|
||||
go build -o %output_dir%\push.exe ../cmd/openim-push/main.go
|
||||
go build -o %output_dir%\msgtransfer.exe ../cmd/openim-msgtransfer/main.go
|
||||
go build -o %output_dir%\msggateway.exe ../cmd/openim-msggateway/main.go
|
Loading…
Reference in new issue