Skip to content

Commit af195c2

Browse files
committed
ci: unify workflow files
1 parent b0776f7 commit af195c2

File tree

2 files changed

+24
-29
lines changed

2 files changed

+24
-29
lines changed

.github/workflows/linux.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,32 @@
1-
name: macOS
1+
name: Test
22
on:
33
- push
44
- pull_request
55
jobs:
6+
linux:
7+
name: Linux
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os:
12+
- centos-7
13+
- almalinux-8
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Install XMLua
19+
run: |
20+
docker build \
21+
-t clear-code/xmlua-${{ matrix.os }} \
22+
-f dockerfiles/Dockerfile.${{ matrix.os }} \
23+
.
24+
- name: Test
25+
run: |
26+
docker run \
27+
clear-code/xmlua-${{ matrix.os }}
628
macos:
7-
name: Test
29+
name: macOS
830
strategy:
931
fail-fast: false
1032
runs-on: macos-latest

0 commit comments

Comments
 (0)