Skip to content

Commit

Permalink
Split workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Dec 4, 2024
1 parent 6e1b4ca commit 83e8475
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -1,46 +1,13 @@
---
name: Pull Request
name: 📦 Archives

on: # yamllint disable-line rule:truthy
merge_group:
pull_request:

jobs:
check-quality:
name: 🔎 Check quality
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run the quality check
run: make check-quality

build-documentation:
name: 📚 Build documentation
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Build the documentation
run: make doc

tests:
name: 🧪 Tests
runs-on: macos-latest
strategy:
matrix:
platform: [ios, tvos]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run tests
run: make test-${{ matrix.platform }}

archive-demos:
name: 📦 Archives
name: Archives
runs-on: macos-latest
strategy:
matrix:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: 📚 Documentation

on: # yamllint disable-line rule:truthy
merge_group:
pull_request:

jobs:
build-documentation:
name: Build documentation
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Build the documentation
run: make doc
4 changes: 2 additions & 2 deletions .github/workflows/nightlies.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: Nightlies
name: 🌙 Nightlies

on: # yamllint disable-line rule:truthy
push:
branches: main

jobs:
deliver-demo-nightlies:
name: 🌙 Nightlies
name: Nightlies
runs-on: macos-latest
strategy:
matrix:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: 🔎 Quality

on: # yamllint disable-line rule:truthy
merge_group:
pull_request:

jobs:
check-quality:
name: Check quality
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run the quality check
run: make check-quality
4 changes: 2 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: Releases
name: 🚀 Releases

on: # yamllint disable-line rule:truthy
push:
tags: '*'

jobs:
deliver-demo-releases:
name: 🚀 Releases
name: Releases
runs-on: macos-latest
strategy:
matrix:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: 🧪 Tests

on: # yamllint disable-line rule:truthy
merge_group:
pull_request:

jobs:
tests:
name: Tests
runs-on: macos-latest
strategy:
matrix:
platform: [ios, tvos]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run tests
run: make test-${{ matrix.platform }}

0 comments on commit 83e8475

Please sign in to comment.