Skip to content

Commit

Permalink
apply Github workflow (#26)
Browse files Browse the repository at this point in the history
* apply Github workflow

Signed-off-by: DavidLiu <[email protected]>

* apply Github workflow

Signed-off-by: DavidLiu <[email protected]>
  • Loading branch information
davidkhala authored Mar 30, 2022
1 parent e40c578 commit e3c3734
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 37 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
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
2 changes: 1 addition & 1 deletion README.md
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 语言接口
36 changes: 0 additions & 36 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit e3c3734

Please sign in to comment.