forked from guanzhi/GmSSL
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* apply Github workflow Signed-off-by: DavidLiu <[email protected]> * apply Github workflow Signed-off-by: DavidLiu <[email protected]>
- Loading branch information
1 parent
e40c578
commit e3c3734
Showing
3 changed files
with
33 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: github workflow | ||
on: | ||
push: | ||
schedule: | ||
- cron: "0 0 * * 0" # https://crontab.guru/#0_0_*_*_0 | ||
jobs: | ||
buildNtest: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@main | ||
with: | ||
repository: guanzhi/GmSSL | ||
path: GMSSL | ||
- run: SYSTEM=`uname -s` ./config --prefix=/usr/local/gmssl; | ||
working-directory: GMSSL | ||
- run: make | ||
working-directory: GMSSL | ||
- run: sudo make install_sw | ||
working-directory: GMSSL | ||
- uses: actions/checkout@main | ||
- uses: actions/setup-go@main | ||
with: | ||
go-version: 1.16 | ||
- run: go build | ||
working-directory: gmssl | ||
- run: curl --version | ||
name: curl san check | ||
- run: env LD_LIBRARY_PATH=/usr/local/gmssl/lib go test -v ./... | ||
working-directory: test | ||
- run: env LD_LIBRARY_PATH=/usr/local/gmssl/lib go test -bench=. -run=none -cover | ||
working-directory: test | ||
name: bench test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# pku-gm | ||
[![Build Status](https://dev.azure.com/Hyperledger/TWGC/_apis/build/status/Hyperledger-TWGC.pku-gm?branchName=master)](https://dev.azure.com/Hyperledger/TWGC/_build/latest?definitionId=125&branchName=master) | ||
[![github workflow](https://github.com/Hyperledger-TWGC/pku-gm/actions/workflows/ci.yml/badge.svg)](https://github.com/Hyperledger-TWGC/pku-gm/actions/workflows/ci.yml) | ||
|
||
[GMSSL](https://github.com/guanzhi/GmSSL) Go 语言接口 |
This file was deleted.
Oops, something went wrong.