Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…penexr into main_clusty

Signed-off-by: Philippe Leprince <[email protected]>
  • Loading branch information
pleprince committed Jun 5, 2024
2 parents cb6a1e0 + 8169016 commit 17a3fdf
Show file tree
Hide file tree
Showing 47 changed files with 716 additions and 305 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.2
7.1.1
6 changes: 3 additions & 3 deletions .github/workflows/analysis_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup container
run: sudo rm -rf /usr/local/lib64/cmake/glew
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
fetch-depth: 50
- name: Create build directories
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Setup container
run: sudo rm -rf /usr/local/lib64/cmake/glew
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
fetch-depth: 50
- name: Create build directories
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
- name: Setup container
run: sudo rm -rf /usr/local/lib64/cmake/glew
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
fetch-depth: 50
- name: Create build directories
Expand Down
38 changes: 16 additions & 22 deletions .github/workflows/bazel_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,23 @@ name: Bazel

on:
push:
branches-ignore:
- RB-2.*
tags-ignore:
- v1.*
- v2.*
paths:
- '**'
- '!**.md'
- '!website/**'
- 'website/src/**'
- '!src/wrappers/**'
- '!.github/workflows/**'
- '.github/workflows/bazel_build.yml'
pull_request:
branches-ignore:
- RB-2.*
tags-ignore:
- v1.*
- v2.*
paths:
- '**'
- '!**.md'
- '!website/**'
- 'website/src/**'
- '!src/wrappers/**'
- '!.github/workflows/**'
- '.github/workflows/bazel_build.yml'

permissions:
contents: read
Expand All @@ -45,69 +39,69 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/[email protected]
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Mount Bazel cache
uses: actions/[email protected].0
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: "/home/runner/.cache/bazel"
key: bazel-ubuntu-22

- name: Build
run: |
bazelisk build //...
bazelisk test //...
bazelisk test --test_output=errors //...
build_and_test_windows:
name: Windows Server 2022 build <Visual Studio 2022>
runs-on: windows-2022

steps:
- uses: actions/[email protected]
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Mount Bazel cache
uses: actions/[email protected].0
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: "/home/runner/.cache/bazel"
key: bazel-windows-2022

- name: Build
run: |
bazelisk build //...
bazelisk test //...
bazelisk test --test_output=errors //...
build_and_test_macos:
name: macOS 13 Bazel build <Apple Clang14>
runs-on: macos-13

steps:
- uses: actions/[email protected]
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Mount Bazel cache
uses: actions/[email protected].0
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: "/home/runner/.cache/bazel"
key: bazel-macos-13

- name: Build
run: |
bazelisk build //...
bazelisk test //...
bazelisk test --test_output=errors //...
build_and_test_macos_M1:
name: macOS 14 Bazel build <Apple Clang14>
runs-on: macos-14

steps:
- uses: actions/[email protected]
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Mount Bazel cache
uses: actions/[email protected].0
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: "/home/runner/.cache/bazel"
key: bazel-macos-14

- name: Build
run: |
bazelisk build //...
bazelisk test //...
bazelisk test --test_output=errors //...
Loading

0 comments on commit 17a3fdf

Please sign in to comment.