chore(ci): fix platform input and add a debug step
This commit is contained in:
@@ -32,13 +32,18 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
platform:
|
platform:
|
||||||
description: Target platform (leave empty to build for all)
|
description: Platform
|
||||||
required: false
|
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
|
- all
|
||||||
- windows
|
- windows
|
||||||
- macos
|
- macos
|
||||||
- linux
|
- linux
|
||||||
|
ssh_into_runner:
|
||||||
|
description: SSH into runner for debugging
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
@@ -49,35 +54,35 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
|
||||||
- if: ${{ inputs.platform == '' || inputs.platform == 'macos' }}
|
- if: ${{ inputs.platform == 'all' || inputs.platform == 'macos' }}
|
||||||
os: macos-15-intel
|
os: macos-15-intel
|
||||||
artifact: darwin-x64
|
artifact: darwin-x64
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
arch: x64
|
arch: x64
|
||||||
builder-args: --macos --x64
|
builder-args: --macos --x64
|
||||||
|
|
||||||
- if: ${{ inputs.platform == '' || inputs.platform == 'macos' }}
|
- if: ${{ inputs.platform == 'all' || inputs.platform == 'macos' }}
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
artifact: darwin-arm64
|
artifact: darwin-arm64
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
builder-args: --macos --arm64
|
builder-args: --macos --arm64
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
- if: ${{ inputs.platform == '' || inputs.platform == 'linux' }}
|
- if: ${{ inputs.platform == 'all' || inputs.platform == 'linux' }}
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
artifact: linux-x64
|
artifact: linux-x64
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
builder-args: --linux --x64
|
builder-args: --linux --x64
|
||||||
arch: x64
|
arch: x64
|
||||||
|
|
||||||
- if: ${{ inputs.platform == '' || inputs.platform == 'linux' }}
|
- if: ${{ inputs.platform == 'all' || inputs.platform == 'linux' }}
|
||||||
os: ubuntu-24.04-arm
|
os: ubuntu-24.04-arm
|
||||||
artifact: linux-arm64
|
artifact: linux-arm64
|
||||||
target: aarch64-unknown-linux-gnu
|
target: aarch64-unknown-linux-gnu
|
||||||
builder-args: --linux --arm64
|
builder-args: --linux --arm64
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
- if: ${{ inputs.platform == '' || inputs.platform == 'windows' }}
|
- if: ${{ inputs.platform == 'all' || inputs.platform == 'windows' }}
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
artifact: windows-x64-setup
|
artifact: windows-x64-setup
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
@@ -86,6 +91,12 @@ jobs:
|
|||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
- if: ${{ inputs.ssh_into_runner }}
|
||||||
|
name: Debug - Setup upterm session
|
||||||
|
uses: owenthereal/action-upterm@v1
|
||||||
|
with:
|
||||||
|
limit-access-to-users: sumimakito
|
||||||
|
|
||||||
# Why?
|
# Why?
|
||||||
#
|
#
|
||||||
# failed to build archive at `/home/runner/work/airi/airi/target/x86_64-unknown-linux-gnu/release/deps/libapp_lib.rlib`:
|
# failed to build archive at `/home/runner/work/airi/airi/target/x86_64-unknown-linux-gnu/release/deps/libapp_lib.rlib`:
|
||||||
|
|||||||
@@ -208,6 +208,7 @@ words:
|
|||||||
- OPFS
|
- OPFS
|
||||||
- opusscript
|
- opusscript
|
||||||
- otelcol
|
- otelcol
|
||||||
|
- owenthereal
|
||||||
- oxlint
|
- oxlint
|
||||||
- pglite
|
- pglite
|
||||||
- pgvector
|
- pgvector
|
||||||
@@ -266,6 +267,7 @@ words:
|
|||||||
- ssml
|
- ssml
|
||||||
- staticlib
|
- staticlib
|
||||||
- stepfun
|
- stepfun
|
||||||
|
- sumimakito
|
||||||
- supergroup
|
- supergroup
|
||||||
- superjson
|
- superjson
|
||||||
- tamagotchi
|
- tamagotchi
|
||||||
@@ -288,6 +290,7 @@ words:
|
|||||||
- unocss
|
- unocss
|
||||||
- unplugin
|
- unplugin
|
||||||
- unspeech
|
- unspeech
|
||||||
|
- upterm
|
||||||
- valibot
|
- valibot
|
||||||
- vaul
|
- vaul
|
||||||
- velin
|
- velin
|
||||||
|
|||||||
Reference in New Issue
Block a user