Skip to content

Commit

Permalink
Fixed CI - build only against Tumbleweed
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 6, 2023
1 parent 7ff0849 commit 861ed0e
Showing 1 changed file with 22 additions and 24 deletions.
46 changes: 22 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions

name: CI

on: [push, pull_request]
on: [ push, pull_request ]

jobs:
Package:
Expand All @@ -12,30 +11,29 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: [ "tumbleweed", "leap_latest" ]
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

# 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
- 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

0 comments on commit 861ed0e

Please sign in to comment.