Skip to content

Commit

Permalink
Update gitignore
Browse files Browse the repository at this point in the history
* Add bazel output dirs
* Add user bazelrc if any
* Add some IDE tmp files

PiperOrigin-RevId: 715957008
  • Loading branch information
Mizux authored and copybara-github committed Jan 15, 2025
1 parent 11b801f commit 2420efd
Show file tree
Hide file tree
Showing 27 changed files with 163 additions and 940 deletions.
1 change: 0 additions & 1 deletion .bazelignore

This file was deleted.

18 changes: 0 additions & 18 deletions .bazelrc

This file was deleted.

32 changes: 23 additions & 9 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
# ref: https://github.com/actions/runner-images
name: build_and_test

# Controls when the action will run.
on: [push, pull_request, workflow_dispatch]
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
PIP_BREAK_SYSTEM_PACKAGES: 1

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:

unix:
strategy:
fail-fast: false
Expand All @@ -23,21 +30,28 @@ jobs:
steps:
- name: Show env
run: env

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- uses: actions/checkout@v3

- name: Setup bazel
- name: Install bazel
if: matrix.build_tool == 'bazel'
uses: bazel-contrib/[email protected]
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true
# Install Bazel, see https://docs.bazel.build/versions/master/install-ubuntu.html#step-1-install-required-packages
run: |
sudo apt install curl gnupg
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
sudo apt update && sudo apt install bazel -y
- name: Show bazel version
if: matrix.build_tool == 'bazel'
run: bazel --version

- name: Update cmake
if: matrix.build_tool == 'cmake'
uses: jwlawson/[email protected]

- name: Show cmake version
if: matrix.build_tool == 'cmake'
run: cmake --version
Expand Down
76 changes: 0 additions & 76 deletions .github/workflows/amd64_linux_bazel.yml

This file was deleted.

69 changes: 0 additions & 69 deletions .github/workflows/amd64_linux_cmake.yml

This file was deleted.

78 changes: 0 additions & 78 deletions .github/workflows/amd64_macos_bazel.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/amd64_macos_cmake.yml

This file was deleted.

Loading

0 comments on commit 2420efd

Please sign in to comment.