Skip to content

Add linux build CI job #4

Add linux build CI job

Add linux build CI job #4

Workflow file for this run

# Copyright (c) Meta Platforms, Inc. and its affiliates.
#
# 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: Linux Build
on:
push:
branches:
- "main"
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.repository }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
ubuntu-debug:
runs-on: ubuntu-latest
if: ${{ github.repository == 'facebookexternal/nimble' }}
name: "Ubuntu Build"
env:
CCACHE_DIR: "${{ github.workspace }}/.ccache"
defaults:
run:
shell: bash
working-directory: nimble
steps:
- uses: actions/checkout@v4
with:
path: nimble
- name: Install Dependencies
run: |
sudo apt install -y flatbuffers-compiler libflatbuffers-dev
- name: Build
run: |
make