Added Factory autosubmission GitHub Action #168
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
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
Package: | |
# skip in master, but run in forks | |
if: github.ref_name != 'master' || github.repository_owner != 'yast' | |
runs-on: ubuntu-latest | |
container: | |
image: registry.opensuse.org/yast/head/containers/yast-cpp:latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: | | |
# Install tmux to make sure the libyui+YaST integration tests are run | |
zypper --non-interactive in tmux | |
# Enable installing docs... | |
sed -i 's/\(rpm\.install\.excludedocs =\).*/\1 no/' /etc/zypp/zypp.conf | |
# ... and reinstall the RPM containing the examples we use for tests | |
zypper --non-interactive in --force yast2-ycp-ui-bindings-devel | |
- name: Package Build | |
run: yast-ci-cpp |