summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-01-23 11:57:08 +0100
committerRichard Levitte <levitte@openssl.org>2021-01-25 13:38:38 +0100
commit4605b34d567c408c5b238b2d91f3fb4e022c9037 (patch)
treee2abf8a73ca6595b4ecb96243477f1ced8711f18 /.github
parentd9c22dde295eb3163a168c81688a7425d4db1902 (diff)
Github CI: Add a job for out-of-source build + install
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13935)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fc4549fd57..9e99a9b97b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -123,3 +123,24 @@ jobs:
run: make -s -j4
- name: make test
run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
+
+ out-of-source-and-install:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: extra preparations
+ run: |
+ mkdir ./build
+ mkdir ./install
+ - name: config
+ run: ../config --strict-warnings --prefix=$(cd ../install; pwd) && perl configdata.pm --dump
+ working-directory: ./build
+ - name: make
+ run: make -s -j4
+ working-directory: ./build
+ - name: make test
+ run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
+ working-directory: ./build
+ - name: make install
+ run: make install
+ working-directory: ./build