-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 664 Bytes
/
ci.yaml
File metadata and controls
32 lines (29 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: CI
on:
workflow_call:
inputs:
name:
required: true
type: string
repo:
required: true
type: string
args:
required: false
default: ""
type: string
secrets:
token:
required: true
jobs:
ci:
name: ${{ inputs.name }}
runs-on:
group: apple-silicon
steps:
- uses: actions/checkout@v4
with:
repository: ${{ inputs.repo }}
- run: echo "PATH=/opt/homebrew/bin:/opt/homebrew/sbin:$PATH" >> $GITHUB_ENV
- name: Cirrus CI
run: cirrus run --output github-actions --artifacts-dir artifacts ${{ inputs.args }}