Skip to content

Commit

Permalink
Add GitHub action to build plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
tryuan99 committed Feb 24, 2025
1 parent 8d99d90 commit df0bab8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build plugins

on: push

jobs:
build:
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: bazel-contrib/[email protected]
- run: bazel build -c opt //:plugins
- uses: actions/upload-artifact@v4
with:
name: plugins-${{ matrix.platform }}
path: bazel-bin/plugins.tar.gz
12 changes: 1 addition & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,9 @@ on: push

jobs:
ci:
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.platform }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bazel-contrib/[email protected]
- run: bazel build //...
- run: bazel test --test_output=errors //...
- uses: actions/upload-artifact@v4
with:
name: plugins-${{ matrix.platform }}
path: bazel-bin/plugins.tar.gz

0 comments on commit df0bab8

Please sign in to comment.