summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorslontis <shane.lontis@oracle.com>2022-10-27 17:56:12 +1000
committerTomas Mraz <tomas@openssl.org>2022-11-02 09:25:53 +0100
commit41e4f72d4cead8caf65f046aea706fe307be1c1e (patch)
tree88837576de2c6da7f2eb7b39b139336885cc3ab6 /.github/workflows
parent8f5932834c99c74dadc9ae23d89bfe0704b091de (diff)
Attempt to fix CI Daily build error
For some reason the newly introduced CI test for sctp causes issues. It is unknown why this seems to work when testing, but doesnt work once it was merged. The test has been put into its own file, with skips on error if the setup fails.. This will need to be merged to test if this works. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19511)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/run-checker-daily-sctp.yml46
-rw-r--r--.github/workflows/run-checker-daily.yml7
2 files changed, 46 insertions, 7 deletions
diff --git a/.github/workflows/run-checker-daily-sctp.yml b/.github/workflows/run-checker-daily-sctp.yml
new file mode 100644
index 0000000000..e3dbe8b52a
--- /dev/null
+++ b/.github/workflows/run-checker-daily-sctp.yml
@@ -0,0 +1,46 @@
+# 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:
+ - uses: actions/checkout@v2
+ - 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}
diff --git a/.github/workflows/run-checker-daily.yml b/.github/workflows/run-checker-daily.yml
index b15ebfd931..2dc2e7ddd3 100644
--- a/.github/workflows/run-checker-daily.yml
+++ b/.github/workflows/run-checker-daily.yml
@@ -98,7 +98,6 @@ jobs:
no-ripemd,
no-rmd160,
no-scrypt,
- enable-sctp,
no-secure-memory,
no-seed,
no-shared,
@@ -137,12 +136,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Install Dependencies for sctp option
- run: |
- sudo apt-get update
- sudo apt-get -yq install lksctp-tools libsctp-dev
- sudo sysctl -w net.sctp.auth_enable=1
- if: matrix.opt == 'enable-sctp'
- name: config
run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }}
- name: config dump