diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..3bf4a11 --- /dev/null +++ b/.github/workflows/build.yaml @@ -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/setup-bazel@0.9.1 + - run: bazel build -c opt //:plugins + - uses: actions/upload-artifact@v4 + with: + name: plugins-${{ matrix.platform }} + path: bazel-bin/plugins.tar.gz diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f26fa5d..3771273 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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/setup-bazel@0.9.1 - 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