2023-08-06 16:43:53 +03:00
|
|
|
name: Fedora/Rawhide
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: "0 0 25 * *"
|
|
|
|
push:
|
2024-07-04 00:21:44 +03:00
|
|
|
pull_request:
|
2023-08-06 16:43:53 +03:00
|
|
|
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: |
|
2024-07-04 20:15:50 +03:00
|
|
|
dnf -y install git cmake ncurses-devel openssl-devel libsodium-devel readline-devel zlib-devel gcc-c++ clang
|
2023-08-06 16:43:53 +03:00
|
|
|
- name: Compile with ${{ matrix.cc }}
|
|
|
|
run: |
|
|
|
|
export CC=${{ matrix.cc }}
|
|
|
|
./configure
|
|
|
|
make -C build
|
|
|
|
|