Skip to content

Commit 30ca4d6

Browse files
committed
chore: add workflow for debugging apple builds
1 parent 08443a0 commit 30ca4d6

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/debug.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Continuous Integration
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
ref:
7+
description: 'Branch or Tag to build'
8+
required: true
9+
default: 'master'
10+
type: string
11+
runner:
12+
description: 'Runner to use for the build'
13+
required: true
14+
type: choice
15+
options:
16+
- ubuntu-latest
17+
- macos-latest
18+
- windows-latest
19+
20+
jobs:
21+
build-artifacts:
22+
runs-on: ${{ github.event.inputs.runner }}
23+
name: Debug Build ${{ github.event.inputs.ref }} on ${{ github.event.inputs.runner }}
24+
steps:
25+
- uses: actions/checkout@v4
26+
with:
27+
fetch-depth: 0
28+
29+
- name: Set Swap Space
30+
if: ${{ !endsWith(github.event.inputs.runner, 'darwin') }}
31+
uses: pierotofy/set-swap-space@master
32+
with:
33+
swap-size-gb: 12
34+
35+
- uses: cachix/install-nix-action@v30
36+
- uses: DeterminateSystems/magic-nix-cache-action@v8
37+
38+
- name: Setup tmate session for debugging
39+
uses: mxschmitt/action-tmate@v3
40+
with:
41+
detached: true
42+
limit-access-to-actor: true

0 commit comments

Comments
 (0)