Repository navigation
65 lines (59 loc) · 1.97 KB
/
Copy pathmise.yml
File metadata and controls
65 lines (59 loc) · 1.97 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Mise development environment
on:
push:
branches: [main]
pull_request:
branches: ["**"]
concurrency:
group: mise.yml-${{ github.event_name }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref == 'refs/heads/main' && 'main') || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
permissions:
contents: read
jobs:
prepare:
uses: ./.github/workflows/ci-prepare.yml
ci-gate:
name: CI gate (Mise)
needs: prepare
if: always() && !cancelled()
runs-on: ${{ fromJSON(needs.prepare.outputs.linux_runner || '["ubuntu-24.04"]') }}
steps:
- name: Verify CI preparation succeeded
run: test "${{ needs.prepare.result }}" = "success"
devenv:
if: needs.prepare.outputs.run_code_ci == 'true'
name: Mise (${{ matrix.os }})
needs: prepare
runs-on: ${{ matrix.os == 'ubuntu-24.04' && fromJSON(needs.prepare.outputs.linux_large_runner) || matrix.os }}
timeout-minutes: 30
defaults:
run:
working-directory: llgo dev
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-24.04-arm
- macos-15
- macos-15-intel
- windows-2025
steps:
- uses: actions/checkout@v7
with:
# Exercise activation and builds from a checkout path containing spaces.
path: llgo dev
- uses: jdx/mise-action@f5be966e4a917d54244728e6a5fdcd1d93a35e6c # v5.2.6
with:
version: 2026.10.7
install_args: --locked
working_directory: llgo dev/dev
env: true
export_path: true
- name: Build LLGo and check native dependencies
if: runner.os != 'Windows'
run: bash dev/check_devenv.sh
- name: Build LLGo and check native dependencies (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: .\dev\check_devenv.ps1