2022-10-27 15:56:12 +08:00
|
|
|
# Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
|
|
# in the file LICENSE in the source distribution or at
|
|
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
|
|
|
|
name: Run-checker CI daily sctp
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 6 * * *'
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run-checker:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-11-02 15:53:36 +08:00
|
|
|
- uses: actions/checkout@v3
|
2023-04-05 19:39:23 +08:00
|
|
|
- name: checkout fuzz/corpora submodule
|
|
|
|
run: git submodule update --init --depth 1 fuzz/corpora
|
2022-10-27 15:56:12 +08:00
|
|
|
- name: Install Dependencies for sctp option
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get -yq install lksctp-tools libsctp-dev
|
|
|
|
|
|
|
|
- name: Check SCTP and enable auth
|
|
|
|
id: sctp_auth
|
|
|
|
continue-on-error: true
|
|
|
|
run: |
|
|
|
|
checksctp
|
|
|
|
sudo sysctl -w net.sctp.auth_enable=1
|
|
|
|
|
|
|
|
- name: config
|
|
|
|
if: steps.sctp_auth.outcome == 'success' && steps.sctp_auth.conclusion == 'success'
|
|
|
|
run: CC=clang ./config --banner=Configured --strict-warnings enable-sctp
|
|
|
|
|
|
|
|
- name: config dump
|
|
|
|
if: steps.sctp_auth.outcome == 'success' && steps.sctp_auth.conclusion == 'success'
|
|
|
|
run: ./configdata.pm --dump
|
|
|
|
|
|
|
|
- name: make
|
|
|
|
if: steps.sctp_auth.outcome == 'success' && steps.sctp_auth.conclusion == 'success'
|
|
|
|
run: make -s -j4
|
|
|
|
|
|
|
|
- name: make test
|
|
|
|
if: steps.sctp_auth.outcome == 'success' && steps.sctp_auth.conclusion == 'success'
|
|
|
|
run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
|