-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (29 loc) · 874 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
42
43
# 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
container:
image: registry.opensuse.org/yast/sle-15/sp7/containers/yast-cpp:latest
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: Prepare System
run: zypper --non-interactive in --no-recommends libcurl-devel
- name: Package Build
run: yast-ci-cpp
Checks:
runs-on: ubuntu-latest
# there is also ruby code, so for testing it use ruby container
strategy:
fail-fast: false
container:
image: registry.opensuse.org/yast/sle-15/sp7/containers/yast-ruby
steps:
- name: Git Checkout
uses: actions/checkout@v2
- name: syntax
run: rake check:syntax
- name: pot
run: rake check:pot