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
47 changes: 47 additions & 0 deletions .github/workflows/unittest_asn1_extended.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "Unit Test ASN1 Extended"

on:
workflow_dispatch: {}

schedule:
- cron: '30 6 * * 1' # Monday 12:00 PM IST
- cron: '30 6 * * 3' # Wednesday 12:00 PM IST

jobs:
unittest-asn1-extended:
runs-on: ubuntu-latest

steps:
- name: Checkout current repository
uses: actions/checkout@v4

- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y cproto
sudo apt install -y ruby
sudo apt install -y build-essential
sudo apt install -y cmake
sudo apt install -y python3 python3-pip

# ------------------------------------------------------------------
# Clone & prepare mocn-qa-m-products
# ------------------------------------------------------------------
- name: Checkout mocn-qa-m-products
uses: actions/checkout@v4
with:
repository: digicert/mocn-qa-m-products
token: ${{ secrets.MY_SECRET_TOKEN }}
path: mocn-qa-m-products

# ------------------------------------------------------------------
# Copy script and run check
# ------------------------------------------------------------------
- name: Copy Jenkins check script
run: |
cp mocn-qa-m-products/qa_utils/check_jenkins_build_script_result/run_check_script.py .

- name: Running Unittest ASN1 Extended
run: |
PYTHONUNBUFFERED=1 python3 run_check_script.py "projects/asn1_unittest" "default"

46 changes: 46 additions & 0 deletions .github/workflows/unittest_cryptointerface_extended.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Unit Test CryptoInterface Extended"

on:
workflow_dispatch: {}

schedule:
- cron: '30 7 * * 1' # Monday 1:00 PM IST
- cron: '30 7 * * 3' # Wednesday 1:00 PM IST

jobs:
unittest-cryptointerface-extended:
runs-on: ubuntu-latest

steps:
- name: Checkout current repository
uses: actions/checkout@v4

- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y cproto
sudo apt install -y ruby
sudo apt install -y build-essential
sudo apt install -y cmake
sudo apt install -y python3 python3-pip

# ------------------------------------------------------------------
# Clone & prepare mocn-qa-m-products
# ------------------------------------------------------------------
- name: Checkout mocn-qa-m-products
uses: actions/checkout@v4
with:
repository: digicert/mocn-qa-m-products
token: ${{ secrets.MY_SECRET_TOKEN }}
path: mocn-qa-m-products

# ------------------------------------------------------------------
# Copy script and run check
# ------------------------------------------------------------------
- name: Copy Jenkins check script
run: |
cp mocn-qa-m-products/qa_utils/check_jenkins_build_script_result/run_check_script.py .

- name: Running Unittest CryptoInterface Extended
run: |
PYTHONUNBUFFERED=1 python run_check_script.py "projects/cryptointerface_unittest" "build_and_run_all.sh"
31 changes: 31 additions & 0 deletions .github/workflows/unittest_nanocrypto_extended.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Unit Test NanoCrypto Extended"

on:
workflow_dispatch: {}

schedule:
- cron: '30 9 * * 1' # Monday 3:00 PM IST
- cron: '30 9 * * 3' # Wednesday 3:00 PM IST

jobs:
unittest-nanocrypto-extended:
runs-on: ubuntu-latest

steps:
- name: Checkout current repository
uses: actions/checkout@v4

- name: Install Dependencies
run: |
sudo apt update
sudo apt install -y cproto
sudo apt install -y ruby
sudo apt install -y build-essential
sudo apt install -y cmake
sudo apt install -y python3 python3-pip

- name: Running Unittest NanoCrypto Extended
run: |
cd projects/crypto_unittest
./build.sh
./run.sh