mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
38 lines
722 B
YAML
38 lines
722 B
YAML
name: Fedora/Rawhide
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 25 * *"
|
|
push:
|
|
pull_request:
|
|
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:
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
dnf -y install git cmake ncurses-devel openssl-devel-engine libsodium-devel readline-devel zlib-devel gcc-c++ clang
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Compile with ${{ matrix.cc }}
|
|
run: |
|
|
export CC=${{ matrix.cc }}
|
|
./configure
|
|
make -C build
|