-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (29 loc) · 935 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
# 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" ]
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
- name: Validate XML
run: rake test:validate
- name: Check Translations
run: rake check:pot
- name: Package Build
run: yast-ci-ruby -o package