Skip to content

Commit

Permalink
ci: align workflows layout
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Jul 11, 2023
1 parent 1c4dc3d commit 7fa9dc1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 26 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ on:
paths:
- 'src/ld/**'
pull_request:
branches:
- 'master'
paths:
- 'src/ld/**'

Expand Down
35 changes: 21 additions & 14 deletions .github/workflows/llvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,50 @@ on:
workflow_dispatch:
push:
branches:
- "master"
- 'master'
tags:
- "v*"
- 'v*'
paths:
- "src/llvm/**"
- 'src/llvm/**'
pull_request:
branches:
- "master"
paths:
- "src/llvm/**"
- 'src/llvm/**'

jobs:
compiler-rt:
runs-on: ubuntu-latest
steps:
- name: Checkout
-
name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
-
name: Build
uses: docker/bake-action@v2
with:
files: |
./docker-bake.hcl
targets: compiler-rt

libcxx:
runs-on: ubuntu-latest
steps:
- name: Checkout
-
name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
-
name: Build
uses: docker/bake-action@v2
with:
files: |
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/sdk-extras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,30 @@ on:
workflow_dispatch:
push:
branches:
- "master"
- 'master'
tags:
- "v*"
- 'v*'
paths:
- "src/sdk-extras/**"
- 'src/sdk-extras/**'
pull_request:
branches:
- "master"
paths:
- "src/sdk-extras/**"
- 'src/sdk-extras/**'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
-
name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
-
name: Build
uses: docker/bake-action@v2
with:
files: |
Expand Down

0 comments on commit 7fa9dc1

Please sign in to comment.