Add function to apply cgroup settings (#7914) #7792
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- "docs/**" | |
- "website/**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Mount Bazel cache | |
uses: actions/cache@v1 | |
with: | |
path: "/home/runner/repo-cache/" | |
key: repo-cache | |
- name: Build | |
run: | | |
bazelisk build \ | |
--config=ci \ | |
--remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }} \ | |
//... | |
- name: Test | |
run: | | |
bazelisk test \ | |
--config=ci \ | |
--remote_header=x-buildbuddy-api-key=${{ secrets.BUILDBUDDY_ORG_API_KEY }} \ | |
//... | |
- name: Slack | |
uses: 8398a7/action-slack@v3 | |
with: | |
status: ${{ job.status }} | |
fields: all | |
env: | |
GITHUB_TOKEN: ${{ secrets.BUILDBUDDY_GITHUB_USER_TOKEN }} | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_WEBHOOK_URL }} | |
if: always() |