aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shipitsin <chipitsine@gmail.com>2023-08-17 23:11:26 +0200
committerIlya Shipitsin <chipitsine@gmail.com>2023-08-17 23:11:26 +0200
commit30e43e7ab5f9a3cef1b79b6e2c8000837c597f5e (patch)
treef5273156dd56d57d908d2e4f2d00a41001a0b29b
parent06e6faf6f25deabcd40e5be59ea41540970f317c (diff)
downloadportable-30e43e7ab5f9a3cef1b79b6e2c8000837c597f5e.tar.gz
portable-30e43e7ab5f9a3cef1b79b6e2c8000837c597f5e.tar.bz2
portable-30e43e7ab5f9a3cef1b79b6e2c8000837c597f5e.zip
CI: add scheduled Fedora Rawhide builds
Fedora Rawhide is shipped with the most recent gcc/clang, it is nice to test build on them from time to time
-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