Skip to content

Commit

Permalink
chore: add workflow for debugging apple builds
Browse files Browse the repository at this point in the history
  • Loading branch information
DaRacci committed Dec 17, 2024
1 parent 08443a0 commit 30ca4d6
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/debug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Continuous Integration

on:
workflow_dispatch:
inputs:
ref:
description: 'Branch or Tag to build'
required: true
default: 'master'
type: string
runner:
description: 'Runner to use for the build'
required: true
type: choice
options:
- ubuntu-latest
- macos-latest
- windows-latest

jobs:
build-artifacts:
runs-on: ${{ github.event.inputs.runner }}
name: Debug Build ${{ github.event.inputs.ref }} on ${{ github.event.inputs.runner }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set Swap Space
if: ${{ !endsWith(github.event.inputs.runner, 'darwin') }}
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 12

- uses: cachix/install-nix-action@v30
- uses: DeterminateSystems/magic-nix-cache-action@v8

- name: Setup tmate session for debugging
uses: mxschmitt/action-tmate@v3
with:
detached: true
limit-access-to-actor: true

0 comments on commit 30ca4d6

Please sign in to comment.