Skip to content

Commit

Permalink
Support more platforms on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Silic0nS0ldier committed Dec 6, 2023
1 parent 75da394 commit 88361df
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,39 @@ on:
jobs:
test:
# Development of ruleset proper only supported on macOS and Linux
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "~/.cache/bazel"
key: bazel
path: ~/.cache/bazel
key: bazel-test-${{ matrix.platform }}
- run: bazel test //...
e2e:
strategy:
# TODO Cover macOS and Windows
matrix:
scenario:
- bazel_6_litmus
- bazel_6_litmus_workspace
runs-on: ubuntu-latest
platform:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Mount bazel cache
uses: actions/cache@v3
with:
path: "~/.cache/bazel"
key: bazel-e2e-${{ matrix.scenario }}
# Disabled for now pending completion of configuration
# - name: Mount bazel cache
# uses: actions/cache@v3
# with:
# path: ~/.cache/bazel
# key: bazel-e2e-${{ matrix.scenario }}-${{ matrix.platform }}
- run: bazel test //...
working-directory: e2e/${{ matrix.scenario }}

0 comments on commit 88361df

Please sign in to comment.