ci: make ci run selectively (#745)
This commit is contained in:
parent
406c73701f
commit
959c20d38b
3 changed files with 20 additions and 3 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
|
@ -1,7 +1,17 @@
|
||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
- push
|
push:
|
||||||
- pull_request
|
paths-ignore:
|
||||||
|
- "doc/**"
|
||||||
|
- "README.md"
|
||||||
|
- "**.md"
|
||||||
|
- "LICENSE**"
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- "doc/**"
|
||||||
|
- "README.md"
|
||||||
|
- "**.md"
|
||||||
|
- "LICENSE**"
|
||||||
jobs:
|
jobs:
|
||||||
x86_64-linux:
|
x86_64-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
7
.github/workflows/m1_ci.yml
vendored
7
.github/workflows/m1_ci.yml
vendored
|
|
@ -6,7 +6,12 @@ on:
|
||||||
#
|
#
|
||||||
# Whenever GitHub Actions gets official M1 support, we can use that for PRs and get rid of this
|
# Whenever GitHub Actions gets official M1 support, we can use that for PRs and get rid of this
|
||||||
# self-hosted runner: https://github.com/actions/virtual-environments/issues/2187
|
# self-hosted runner: https://github.com/actions/virtual-environments/issues/2187
|
||||||
- push
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- "doc/**"
|
||||||
|
- "README.md"
|
||||||
|
- "**.md"
|
||||||
|
- "LICENSE**"
|
||||||
jobs:
|
jobs:
|
||||||
aarch64-macos:
|
aarch64-macos:
|
||||||
if: ${{ github.repository == 'hexops/mach' }}
|
if: ${{ github.repository == 'hexops/mach' }}
|
||||||
|
|
|
||||||
2
.github/workflows/push_subrepos.yml
vendored
2
.github/workflows/push_subrepos.yml
vendored
|
|
@ -3,6 +3,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- "main"
|
||||||
|
path:
|
||||||
|
- "libs/**"
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue