-
Notifications
You must be signed in to change notification settings - Fork 12
41 lines (29 loc) · 1022 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
36
37
38
39
40
41
# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: CI
on: [push, pull_request]
jobs:
Package:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distro: [ "tumbleweed", "leap_latest" ]
container:
image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Install Prerequisites
# use jing for validation instead of xmllint
run: |-
rake build_dependencies:install
zypper --non-interactive install --no-recommends jing
# just for easier debugging...
- name: Inspect Installed Packages
run: rpm -qa | sort
# must be before the package build as it installs the /usr/lib/skelcd/CD1/control.xml
# which overwrites the original file from skelcd-control-openSUSE
- name: Validate XML
run: rake test:validate
- name: Package Build
run: yast-ci-ruby -o package