Skip to content

Commit

Permalink
add fedora CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Dreik authored and pauldreik committed Jan 12, 2025
1 parent d70a586 commit 74a1505
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/fedora-40.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: fedora 40

on:
push:
branches:
- main
- devel
pull_request:


jobs:
container-test-job:
runs-on: ubuntu-latest
container:
image: fedora:40
steps:
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: yes | dnf install automake gcc which g++ nettle-devel
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-warnings CXXFLAGS=-std=c++11
- name: make
run: make -j $(nproc)
- name: make check
run: make check
- name: make distcheck
run: make distcheck CXXFLAGS=-std=c++11
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'
35 changes: 35 additions & 0 deletions .github/workflows/fedora-41.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: fedora 41

on:
push:
branches:
- main
- devel
pull_request:


jobs:
container-test-job:
runs-on: ubuntu-latest
container:
image: fedora:41
steps:
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: yes | dnf install automake gcc which g++ nettle-devel
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-warnings CXXFLAGS=-std=c++11
- name: make
run: make -j $(nproc)
- name: make check
run: make check
- name: make distcheck
run: make distcheck CXXFLAGS=-std=c++11
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'

0 comments on commit 74a1505

Please sign in to comment.