summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2023-12-22 20:47:34 +0100
committerRodrigo Arias Mallo <rodarima@gmail.com>2023-12-30 01:37:15 +0100
commit7d6fbac41031ab1414ac20093dcfd3ba35a49f9b (patch)
tree525729be82c60c85b23fc3d8cd4dd1b799692908
parent9a90a5e6a7b760d3e37fd40c24664955ca32d96d (diff)
Build several variants in CI
-rw-r--r--.github/workflows/build.yml48
1 files changed, 39 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6230d035..0c47efc4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,15 +1,9 @@
name: CI
-on:
- push:
- branches:
- - master
- pull_request:
- branches:
- - master
+on: [push]
jobs:
- build:
+ build-no-tls:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
@@ -20,7 +14,43 @@ jobs:
- name: autogen
run: ./autogen.sh
- name: configure
- run: ./configure
+ run: ./configure --disable-tls
+ - name: make
+ run: make
+ - name: make check
+ run: make check
+ - name: make distcheck
+ run: make distcheck
+ build-mbedtls2:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ with:
+ fetch-depth: 1
+ - name: Install FLTK
+ run: sudo apt install -y libfltk1.3-dev libmbedtls-dev
+ - name: autogen
+ run: ./autogen.sh
+ - name: configure
+ run: ./configure --disable-openssl
+ - name: make
+ run: make
+ - name: make check
+ run: make check
+ - name: make distcheck
+ run: make distcheck
+ build-openssl:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ with:
+ fetch-depth: 1
+ - name: Install FLTK
+ run: sudo apt install -y libfltk1.3-dev libssl-dev
+ - name: autogen
+ run: ./autogen.sh
+ - name: configure
+ run: ./configure --disable-mbedtls
- name: make
run: make
- name: make check