From 2e9aba2d165345e9b51e089ad4fd60a05c8e1c6b Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Fri, 17 Jan 2025 12:02:18 -0800 Subject: [PATCH 1/3] chore: add runtime build workflow --- .github/workflows/ci-runtime-build.yml | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/ci-runtime-build.yml diff --git a/.github/workflows/ci-runtime-build.yml b/.github/workflows/ci-runtime-build.yml new file mode 100644 index 000000000..c3a455e37 --- /dev/null +++ b/.github/workflows/ci-runtime-build.yml @@ -0,0 +1,39 @@ +name: Build Runtime + +on: + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + paths: + - runtime/**/*.go + - runtime/go.mod + - runtime/go.sum + +permissions: + contents: read + +jobs: + build: + name: Build ${{ matrix.os }} + runs-on: + "${{ matrix.os == 'linux' && 'warp-ubuntu-latest-x64-4x' || matrix.os == 'macos' && + 'warp-macos-15-arm64-6x' || 'warp-windows-latest-x64-4x' }}" + + strategy: + fail-fast: false + matrix: + os: [linux, macos, windows] + + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.23.4 + cache-dependency-path: runtime/go.sum + - name: Build Runtime + working-directory: runtime + run: go build From 92a8f5dd09058a7f311080df42cd4cb4624bb1b2 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Fri, 17 Jan 2025 12:07:39 -0800 Subject: [PATCH 2/3] . --- .github/workflows/ci-runtime-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-runtime-build.yml b/.github/workflows/ci-runtime-build.yml index c3a455e37..207b3df0a 100644 --- a/.github/workflows/ci-runtime-build.yml +++ b/.github/workflows/ci-runtime-build.yml @@ -8,6 +8,7 @@ on: - reopened - ready_for_review paths: + - .github/workflows/ci-runtime-build.yml - runtime/**/*.go - runtime/go.mod - runtime/go.sum From fd399ab23feb6e5ce8ec075d4dcde1eea3c09482 Mon Sep 17 00:00:00 2001 From: Matt Johnson-Pint Date: Fri, 17 Jan 2025 12:14:32 -0800 Subject: [PATCH 3/3] . --- .github/workflows/ci-runtime-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-runtime-build.yml b/.github/workflows/ci-runtime-build.yml index 207b3df0a..2db18102f 100644 --- a/.github/workflows/ci-runtime-build.yml +++ b/.github/workflows/ci-runtime-build.yml @@ -37,4 +37,4 @@ jobs: cache-dependency-path: runtime/go.sum - name: Build Runtime working-directory: runtime - run: go build + run: go build ${{ matrix.os == 'windows' && '-ldflags "-checklinkname=0"' || '' }}