Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2.1
jobs:
build:
working_directory: /java-sdk
docker:
- image: centos:7
environment:
PATH=$PATH:/usr/bin
steps:
- run:
name: Setup dependencies
command: |
yum install -y epel-release centos-release-scl which
yum install -y git openssl-devel openssl java java-devel
- checkout
- run:
name: Compile
command: |
bash gradlew build -x test
- run:
name: Integration Test
command: |
bash .ci/ci_check.sh
33 changes: 33 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Java-SDK GitHub Actions
on:
push:
pull_request:
release:
types: [published, created, edited]
env:
CCACHE_DIR: ${{ github.workspace }}/ccache

jobs:
build:
name: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-16.04, macos-latest]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 5
- name: check commit
if: ${{ runner.os == 'Linux' && github.base_ref != 'master' && github.event_name == 'pull_request' }}
run: bash .ci/ci_check_commit.sh
- name: install macOS dependencies
if: runner.os == 'macOS'
run: brew install openssl@1.1 openjdk
- name: install Ubuntu dependencies
if: runner.os == 'Linux'
run: sudo apt install -y git curl libssl-dev default-jdk build-essential
- name: compile and run ut
run: ./gradlew build
- name: run integration testing
run: /bin/bash .ci/ci_check.sh
Binary file modified lib/pkey-sign.jar
Binary file not shown.