aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/fedora-rawhide.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/fedora-rawhide.yml b/.github/workflows/fedora-rawhide.yml
new file mode 100644
index 0000000..f593815
--- /dev/null
+++ b/.github/workflows/fedora-rawhide.yml
@@ -0,0 +1,40 @@
1name: Fedora/Rawhide
2
3on:
4 workflow_dispatch:
5 schedule:
6 - cron: "0 0 * * *"
7
8permissions:
9 contents: read
10
11jobs:
12 build_and_test:
13 strategy:
14 matrix:
15 cc: [ gcc, clang ]
16 name: ${{ matrix.cc }}
17 runs-on: ubuntu-latest
18 container:
19 image: fedora:rawhide
20 steps:
21 - uses: actions/checkout@v3
22 - name: Install dependencies
23 run: |
24 dnf -y install git make clang cmake ninja-build autoconf automake libtool diffutils patch
25 - name: Configure
26 run: |
27 ./autogen.sh
28 ./configure
29 - name: Make dist
30 run: |
31 make dist
32 tar zxvf libressl-*.tar.gz
33 rm libressl-*.tar.gz
34 - name: Build and test
35 run: |
36 cd libressl-*
37 mkdir build-shared
38 cmake -GNinja -DBUILD_SHARED_LIBS=ON ..
39 ninja
40 ninja test