Skip to content

Commit

Permalink
[ci] Add GitHub Actions workflow for airgapped build
Browse files Browse the repository at this point in the history
Signed-off-by: James Wainwright <[email protected]>
  • Loading branch information
jwnrt authored and HU90m committed Sep 16, 2024
1 parent bdebc82 commit e93d0ee
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright lowRISC contributors (OpenTitan project).
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

name: CI
on:
pull_request:

jobs:
airgapped_build:
name: Airgapped build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Bitstream cache requires all commits.
- name: Install system dependencies
run: grep '^[^#]' apt-requirements.txt | xargs sudo apt install -y
- name: Prepare airgapped environment
run: ./util/prep-bazel-airgapped-build.sh
- name: Build in the airgapped environment
run: ./ci/scripts/test-airgapped-build.sh

0 comments on commit e93d0ee

Please sign in to comment.