Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create package for Fedora 39 #2467

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/images/fedora-39/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
FROM fedora:39

WORKDIR /souffle

# Install souffle build dependencies
RUN dnf -y install \
autoconf \
automake \
bash-completion \
bison \
cmake \
doxygen \
flex \
gcc-c++ \
git \
libffi-devel \
libtool \
make \
mcpp \
ncurses-devel \
pkg-config \
python39 \
rpm-build \
sqlite-devel \
zlib-devel

# Copy everything into souffle directory
COPY . .

ENTRYPOINT ["/bin/bash", "-l", "-c", ".github/images/entrypoint.sh"]
8 changes: 4 additions & 4 deletions .github/scripts/updatePPA.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ sudo apt-get install createrepo rpm
echo "%_gpg_name Bot\n%__gpg_sign_cmd %{__gpg} gpg --force-v3-sigs --batch --verbose --no-armor --no-secmem-warning -u \"%{_gpg_name}\" -sbo %{__signature_filename} --digest-algo sha256 %{__plaintext_filename}'" > ~/.rpmmacros

## Fedora
mkdir -p $TMPDIR/ppa/fedora/34/x86_64
mkdir -p $TMPDIR/ppa/fedora/39/x86_64
cd $TMPDIR/ppa/fedora

for i in $DEBPATH/*fedora-34*/*rpm
for i in $DEBPATH/*fedora-39*/*rpm
do
rpm --addsign $i
done

cp $DEBPATH/*fedora-34*/*rpm 34/x86_64/
cp $DEBPATH/*fedora-39*/*rpm 39/x86_64/

createrepo 34/x86_64
createrepo 39/x86_64

git add .
git commit -m "Added fedora rpm files for $SOUFFLE_TAG"
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/create-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@ jobs:
- release: oraclelinux-8
extension: ".rpm"
OS-name: "el/8"
- release: fedora-34
- release: fedora-39
extension: ".rpm"
OS-name: "fedora/34"
# build issue on fedora 35
# - release: fedora-35
# extension: ".rpm"
# OS-name: "fedora/35"
OS-name: "fedora/39"

runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -130,7 +126,7 @@ jobs:
needs: CPack-Package-Build
if: ${{ always() }}

runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
Loading