1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-07-03 11:53:41 +02:00

.github/workflows/package.yml: build and package for fedora 38

This commit is contained in:
Henrik Hautakoski 2023-08-16 17:24:12 +02:00
parent 772d03a6e3
commit d03d27589e

View file

@ -54,32 +54,43 @@ jobs:
rpm: rpm:
strategy: strategy:
matrix: matrix:
container: [ "fedora:36" ] container:
- name: "fedora:36"
deps:
gcc-12.2.1-4.fc36.x86_64
gcc-c++-12.2.1-4.fc36.x86_64
cmake-3.26.3-1.fc36.x86_64
openssl1.1-devel-1.1.1q-1.fc36.x86_64
qt: qt5-qtbase-devel-5.15.3-1.fc36.x86_64
- name: "fedora:38"
deps:
gcc-13.2.1-1.fc38.x86_64
gcc-c++-13.2.1-1.fc38.x86_64
cmake-3.26.2-1.fc38.x86_64
openssl-devel-1:3.0.9-2.fc38.x86_64
qt: qt5-qtbase-devel-5.15.10-1.fc38.x86_64
component: [ cli, gui ] component: [ cli, gui ]
include: include:
- component: cli - component: cli
build-opts: --cli --no-gui -t Release --pkg-type rpm build-opts: --cli --no-gui -t Release --pkg-type rpm
- component: gui - component: gui
build-opts: --no-cli --gui -t Release --pkg-type rpm build-opts: --no-cli --gui -t Release --pkg-type rpm
name: RPM ${{matrix.container}} (${{matrix.component}}) name: RPM ${{matrix.container.name}} (${{matrix.component}})
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ${{ matrix.container}} container: ${{ matrix.container.name }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Dependancies - name: Dependancies
run: | run: |
sudo dnf install -y util-linux rpmdevtools git \ sudo dnf install -y util-linux rpmdevtools git ${{ matrix.container.deps }}
gcc-12.2.1-4.fc36.x86_64 \
gcc-c++-12.2.1-4.fc36.x86_64 \
cmake-3.26.3-1.fc36.x86_64 \
openssl1.1-devel-1.1.1q-1.fc36.x86_64
- name: Qt - name: Qt
if: startsWith(matrix.component, 'gui') if: startsWith(matrix.component, 'gui')
shell: bash shell: bash
run: | run: |
sudo dnf install -y qt5-qtbase-devel-5.15.3-1.fc36.x86_64 sudo dnf install -y ${{ matrix.container.qt }}
- name: Package - name: Package
id: package id: package