Skip to content

Commit 8ce485d

Browse files
committed
GitHub Action: Add MacOS runner
1 parent 365e30f commit 8ce485d

1 file changed

Lines changed: 21 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ permissions:
2020

2121
jobs:
2222
test:
23-
name: python
24-
runs-on: ubuntu-latest
23+
name: python (${{ matrix.os }})
24+
strategy:
25+
matrix:
26+
os: [ubuntu-latest, macos-latest]
27+
runs-on: ${{ matrix.os }}
2528
container:
2629
image: registry.opensuse.org/documentation/containers/15.6/opensuse-daps-toolchain:latest
2730
# image: ghcr.io/opensuse/docbuild/daps:latest
@@ -32,24 +35,28 @@ jobs:
3235

3336
- name: Get dependencies
3437
run: |
35-
rpm -q daps \
36-
suse-xsl-stylesheets \
37-
suse-xsl-stylesheets-sbp \
38-
geekodoc \
38+
rpm -q --qf '%-30{NAME} %{VERSION}\n' \
39+
curl \
40+
daps \
41+
ditaa \
42+
docbook-xsl-ns-stylesheets \
3943
docbook-xsl-stylesheets \
40-
docbook-xsl-ns \
41-
xmlgraphics-fop \
44+
geekodoc \
4245
git \
43-
ditaa \
46+
jq \
4447
libreoffice-draw \
4548
novdoc \
46-
ruby2.5-rubygem-asciidoctor \
47-
curl \
49+
openssh-clients \
50+
rsvg-convert \
51+
ruby2.5 \
52+
suse-xsl-stylesheets \
4853
tar \
4954
w3m \
50-
jq \
51-
rsvg-convert \
52-
openssh-clients || true
55+
xmlgraphics-fop || true
56+
57+
- name: Install tools (macOS)
58+
if: matrix.os == 'macos-latest'
59+
run: brew install jing libxml2-utils xsltproc
5360

5461
- name: Install the latest version of uv
5562
id: setup-uv

0 commit comments

Comments
 (0)