Clean merge of SP7 #89
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: Prepare System | |
run: | | |
# Remove the preinstalled yast2-core, it interferes with the built one | |
# when running the tests... (huh??) | |
zypper --non-interactive rm yast2-core | |
- name: Package Build | |
run: yast-ci-cpp | |
env: | |
# the tests require specific locale settings to pass | |
LANG: POSIX | |
LC_ALL: "" | |
# for the Perl syntax check | |
PERL5LIB: "./agents-perl/lib" |