-
Notifications
You must be signed in to change notification settings - Fork 18
35 lines (26 loc) · 886 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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"