From a2aa254f119cb80b8f67a5b822790fd923156b37 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 6 Aug 2023 15:43:53 +0200 Subject: [PATCH] CI: introduce monthly Fedora Rawhide builds Fedora Rawhide includes latest compilers --- .github/workflows/fedora-rawhide.yml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/fedora-rawhide.yml diff --git a/.github/workflows/fedora-rawhide.yml b/.github/workflows/fedora-rawhide.yml new file mode 100644 index 00000000..bafcd2f7 --- /dev/null +++ b/.github/workflows/fedora-rawhide.yml @@ -0,0 +1,33 @@ +name: Fedora/Rawhide + +on: + schedule: + - cron: "0 0 25 * *" + push: + workflow_dispatch: + +permissions: + contents: read + +jobs: + build_and_test: + strategy: + matrix: + cc: [ gcc, clang ] + name: ${{ matrix.cc }} + runs-on: ubuntu-latest + container: + image: fedora:rawhide + steps: + - uses: actions/checkout@v1 + with: + submodules: true + - name: Install dependencies + run: | + dnf -y install git cmake ncurses-devel openssl-devel libsodium-devel readline-devel zlib-devel gcc-c++ clang + - name: Compile with ${{ matrix.cc }} + run: | + export CC=${{ matrix.cc }} + ./configure + make -C build +