Skip to content

Add a data structure for mapping binary addresses #574

Add a data structure for mapping binary addresses

Add a data structure for mapping binary addresses #574

Workflow file for this run

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Propeller CI
on:
push:
branches: [main, copybara_staging]
pull_request:
branches: [main]
# Allows for manually triggering workflow runs.
workflow_dispatch:
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobs
jobs:
build-and-test:
runs-on: ubuntu-22.04-16core
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Configure the runner
run: |
sudo apt-get update
sudo apt-get install ninja-build libelf-dev
- name: Mount the Bazel cache
uses: actions/cache@v4
with:
path: |
~/.cache/bazel
key: ${{ runner.os }}-bazel-${{ hashFiles('.bazelversion', '.bazelrc', 'WORKSPACE', 'WORKSPACE.bazel', 'MODULE.bazel') }}
restore-keys: |
${{ runner.os }}-bazel-
# Currently, we only have builds on Ubuntu 22.04 for x86_64.
- name: Build (Bazel)
run: bazel build //propeller/...:all
- name: Test (Bazel)
run: bazel test //propeller/...:all
- name: Configure (CMake)
run: cmake -G Ninja -B build
- name: Build (CMake)
run: ninja -C build
- name: Test (CMake)
run: ninja -C build test