Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 5905f3f

Browse files
chore: add runtime build workflow (#708)
1 parent d7bc852 commit 5905f3f

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build Runtime
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
- ready_for_review
10+
paths:
11+
- .github/workflows/ci-runtime-build.yml
12+
- runtime/**/*.go
13+
- runtime/go.mod
14+
- runtime/go.sum
15+
16+
permissions:
17+
contents: read
18+
19+
jobs:
20+
build:
21+
name: Build ${{ matrix.os }}
22+
runs-on:
23+
"${{ matrix.os == 'linux' && 'warp-ubuntu-latest-x64-4x' || matrix.os == 'macos' &&
24+
'warp-macos-15-arm64-6x' || 'warp-windows-latest-x64-4x' }}"
25+
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
os: [linux, macos, windows]
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
- name: Setup Go
34+
uses: actions/setup-go@v5
35+
with:
36+
go-version: 1.23.4
37+
cache-dependency-path: runtime/go.sum
38+
- name: Build Runtime
39+
working-directory: runtime
40+
run: go build ${{ matrix.os == 'windows' && '-ldflags "-checklinkname=0"' || '' }}

0 commit comments

Comments
 (0)