Static build automation #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
- pull_request | |
- workflow_dispatch | |
permissions: | |
contents: write | |
jobs: | |
static-build: | |
name: Static build | |
runs-on: ubuntu-latest | |
container: | |
image: centos:centos7 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
repository: 'KDE/kitinerary' | |
- name: Build | |
run: | | |
export BUILD_ROOT=/builds | |
export STAGING_ROOT=/builds/staging | |
scripts/setup-centos.sh | |
source /opt/rh/rh-git227/enable | |
source /opt/rh/devtoolset-11/enable | |
scripts/build-openssl.sh | |
scripts/build-iso-codes.sh | |
scripts/build-static-qt.sh | |
scripts/build-cmake-modules.sh | |
scripts/collect-data-files.sh | |
strip build/bin/kitinerary-extractor | |
cp build/bin/kitinerary-extractor bin/kitinerary-extractor | |
env: | |
CI_PROJECT_PATH: pim/kitinerary | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: "fix: Update kitinerary-extractor" | |
committer: GitHub <[email protected]> | |
author: nextcloud-command <[email protected]> | |
signoff: true | |
branch: fix/update-kitinerary-extractor | |
title: "fix: Update kitinerary-extractor" | |
body: | | |
Automated static build |