Skip to content

Commit

Permalink
ci: unify workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 16, 2023
1 parent b0776f7 commit af195c2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 29 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/linux.yml

This file was deleted.

26 changes: 24 additions & 2 deletions .github/workflows/macos.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,32 @@
name: macOS
name: Test
on:
- push
- pull_request
jobs:
linux:
name: Linux
strategy:
fail-fast: false
matrix:
os:
- centos-7
- almalinux-8
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Install XMLua
run: |
docker build \
-t clear-code/xmlua-${{ matrix.os }} \
-f dockerfiles/Dockerfile.${{ matrix.os }} \
.
- name: Test
run: |
docker run \
clear-code/xmlua-${{ matrix.os }}
macos:
name: Test
name: macOS
strategy:
fail-fast: false
runs-on: macos-latest
Expand Down

0 comments on commit af195c2

Please sign in to comment.