diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/android_test.yml | 4 | ||||
-rw-r--r-- | .github/workflows/cifuzz.yml | 26 | ||||
-rw-r--r-- | .github/workflows/coverity.yml | 2 | ||||
-rw-r--r-- | .github/workflows/cross_test.yml | 2 | ||||
-rw-r--r-- | .github/workflows/linux_test.yml | 2 | ||||
-rw-r--r-- | .github/workflows/linux_test_asan.yml | 2 | ||||
-rw-r--r-- | .github/workflows/macos_test.yml | 2 | ||||
-rw-r--r-- | .github/workflows/regress.yml | 33 |
8 files changed, 66 insertions, 7 deletions
diff --git a/.github/workflows/android_test.yml b/.github/workflows/android_test.yml index 6ce002b..4ecbfac 100644 --- a/.github/workflows/android_test.yml +++ b/.github/workflows/android_test.yml | |||
@@ -12,7 +12,7 @@ jobs: | |||
12 | MAX_NAL: 28 | 12 | MAX_NAL: 28 |
13 | name: Android 8.x 9 | 13 | name: Android 8.x 9 |
14 | steps: | 14 | steps: |
15 | - uses: actions/checkout@v2 | 15 | - uses: actions/checkout@main |
16 | - name: Run CI script | 16 | - name: Run CI script |
17 | run: ./scripts/test | 17 | run: ./scripts/test |
18 | 18 | ||
@@ -25,6 +25,6 @@ jobs: | |||
25 | MAX_NAL: 30 | 25 | MAX_NAL: 30 |
26 | name: Android 10 11 | 26 | name: Android 10 11 |
27 | steps: | 27 | steps: |
28 | - uses: actions/checkout@v2 | 28 | - uses: actions/checkout@main |
29 | - name: Run CI script | 29 | - name: Run CI script |
30 | run: ./scripts/test | 30 | run: ./scripts/test |
diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml new file mode 100644 index 0000000..8c25624 --- /dev/null +++ b/.github/workflows/cifuzz.yml | |||
@@ -0,0 +1,26 @@ | |||
1 | name: CIFuzz | ||
2 | on: [pull_request] | ||
3 | jobs: | ||
4 | Fuzzing: | ||
5 | runs-on: ubuntu-latest | ||
6 | steps: | ||
7 | - name: Build Fuzzers | ||
8 | id: build | ||
9 | uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master | ||
10 | with: | ||
11 | oss-fuzz-project-name: 'libressl' | ||
12 | dry-run: false | ||
13 | language: c++ | ||
14 | - name: Run Fuzzers | ||
15 | uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master | ||
16 | with: | ||
17 | oss-fuzz-project-name: 'libressl' | ||
18 | fuzz-seconds: 300 | ||
19 | dry-run: false | ||
20 | language: c++ | ||
21 | - name: Upload Crash | ||
22 | uses: actions/upload-artifact@v3 | ||
23 | if: failure() && steps.build.outcome == 'success' | ||
24 | with: | ||
25 | name: artifacts | ||
26 | path: ./out/artifacts | ||
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 40e7a07..444cc0b 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml | |||
@@ -15,7 +15,7 @@ jobs: | |||
15 | COVERITY_SCAN_BUILD_COMMAND_PREPEND: "./autogen.sh && ./configure && make dist && tar zxf libressl-*.tar.gz && rm libressl-*.tar.gz && cd libressl-* && mkdir build-static && mkdir build-shared && cmake -GNinja -DBUILD_SHARED_LIBS=ON .." | 15 | COVERITY_SCAN_BUILD_COMMAND_PREPEND: "./autogen.sh && ./configure && make dist && tar zxf libressl-*.tar.gz && rm libressl-*.tar.gz && cd libressl-* && mkdir build-static && mkdir build-shared && cmake -GNinja -DBUILD_SHARED_LIBS=ON .." |
16 | COVERITY_SCAN_BUILD_COMMAND: "ninja" | 16 | COVERITY_SCAN_BUILD_COMMAND: "ninja" |
17 | steps: | 17 | steps: |
18 | - uses: actions/checkout@v2 | 18 | - uses: actions/checkout@main |
19 | - name: Install apt dependencies | 19 | - name: Install apt dependencies |
20 | run: | | 20 | run: | |
21 | sudo apt-get update | 21 | sudo apt-get update |
diff --git a/.github/workflows/cross_test.yml b/.github/workflows/cross_test.yml index c5b6b25..af09309 100644 --- a/.github/workflows/cross_test.yml +++ b/.github/workflows/cross_test.yml | |||
@@ -15,6 +15,6 @@ jobs: | |||
15 | ARCH: ${{ matrix.arch }} | 15 | ARCH: ${{ matrix.arch }} |
16 | name: ${{ matrix.arch }} - ${{ matrix.os }} | 16 | name: ${{ matrix.arch }} - ${{ matrix.os }} |
17 | steps: | 17 | steps: |
18 | - uses: actions/checkout@v2 | 18 | - uses: actions/checkout@main |
19 | - name: Run CI script | 19 | - name: Run CI script |
20 | run: ./scripts/test | 20 | run: ./scripts/test |
diff --git a/.github/workflows/linux_test.yml b/.github/workflows/linux_test.yml index 028c1a4..105f891 100644 --- a/.github/workflows/linux_test.yml +++ b/.github/workflows/linux_test.yml | |||
@@ -15,6 +15,6 @@ jobs: | |||
15 | ARCH: native | 15 | ARCH: native |
16 | name: ${{ matrix.compiler }} - ${{ matrix.os }} | 16 | name: ${{ matrix.compiler }} - ${{ matrix.os }} |
17 | steps: | 17 | steps: |
18 | - uses: actions/checkout@v2 | 18 | - uses: actions/checkout@main |
19 | - name: Run CI script | 19 | - name: Run CI script |
20 | run: ./scripts/test | 20 | run: ./scripts/test |
diff --git a/.github/workflows/linux_test_asan.yml b/.github/workflows/linux_test_asan.yml index d6fc1e8..12e0889 100644 --- a/.github/workflows/linux_test_asan.yml +++ b/.github/workflows/linux_test_asan.yml | |||
@@ -18,6 +18,6 @@ jobs: | |||
18 | CTEST_OUTPUT_ON_FAILURE: 1 | 18 | CTEST_OUTPUT_ON_FAILURE: 1 |
19 | name: ${{ matrix.compiler }} - ${{ matrix.os }} | 19 | name: ${{ matrix.compiler }} - ${{ matrix.os }} |
20 | steps: | 20 | steps: |
21 | - uses: actions/checkout@v2 | 21 | - uses: actions/checkout@main |
22 | - name: Run CI script | 22 | - name: Run CI script |
23 | run: ./scripts/test | 23 | run: ./scripts/test |
diff --git a/.github/workflows/macos_test.yml b/.github/workflows/macos_test.yml index 6e7adac..83a1b35 100644 --- a/.github/workflows/macos_test.yml +++ b/.github/workflows/macos_test.yml | |||
@@ -17,6 +17,6 @@ jobs: | |||
17 | steps: | 17 | steps: |
18 | - name: Install packages for macos | 18 | - name: Install packages for macos |
19 | run: brew install automake | 19 | run: brew install automake |
20 | - uses: actions/checkout@v2 | 20 | - uses: actions/checkout@main |
21 | - name: Run CI script | 21 | - name: Run CI script |
22 | run: ./scripts/test | 22 | run: ./scripts/test |
diff --git a/.github/workflows/regress.yml b/.github/workflows/regress.yml new file mode 100644 index 0000000..7cc35dc --- /dev/null +++ b/.github/workflows/regress.yml | |||
@@ -0,0 +1,33 @@ | |||
1 | name: regress testing | ||
2 | |||
3 | on: | ||
4 | schedule: | ||
5 | - cron: "0 0 * * *" | ||
6 | |||
7 | jobs: | ||
8 | rust-openssl: | ||
9 | runs-on: ubuntu-latest | ||
10 | steps: | ||
11 | - uses: actions/checkout@main | ||
12 | - name: Install apt dependencies | ||
13 | run: | | ||
14 | sudo apt-get update | ||
15 | sudo apt-get install -y cargo | ||
16 | - name: Build LibreSSL | ||
17 | run: | | ||
18 | ./autogen.sh | ||
19 | ./configure | ||
20 | make dist | ||
21 | tar zxvf libressl-*.tar.gz | ||
22 | rm libressl-*.tar.gz | ||
23 | cd libressl-* | ||
24 | ./configure --prefix="${HOME}/opt" | ||
25 | make all install | ||
26 | - name: run rust-openssl tests | ||
27 | run: | | ||
28 | git clone https://github.com/sfackler/rust-openssl.git | ||
29 | cd rust-openssl | ||
30 | export OPENSSL_DIR=${HOME}/opt | ||
31 | export LD_LIBRARY_PATH=${HOME}/opt/lib | ||
32 | patch -p1 < ../.github/rust-openssl.patch | ||
33 | cargo test | ||