Skip to content

Commit

Permalink
[#216] Added CI to NOS3 for FSW and SIM (#316)
Browse files Browse the repository at this point in the history
* [#216] First attempt at build workflow;

* [#216] Removed specific branches from build workflow;

* [#216] Removed sudo and added make prep;

* [#216] Added missing docker dependency;

* [#216] Break config and fsw into different runs in build.yml;

* [#216] Avoid docker in docker and run build-fsw;

* [#216] Attempt to get submodules recursively;

* [#216] Added sim job to build workflow;

* [#216] Attempt to use checkout@v4;
  • Loading branch information
jlucas9 authored Jun 14, 2024
1 parent 4114fe9 commit 5ec004c
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Build

on:
push:
pull_request:

jobs:
fsw:
runs-on: ubuntu-latest
container:
image: ivvitc/nos3-64:dev
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update
run: apt-get update
- name: Install dependencies
run: apt-get install -y python3 docker docker.io
- name: prep
run: make prep
- name: config
run: make config
- name: build directory
run: mkdir ./fsw/build
- name: build
run: make build-fsw

sim:
runs-on: ubuntu-latest
container:
image: ivvitc/nos3-64:dev
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Update
run: apt-get update
- name: Install dependencies
run: apt-get install -y python3 docker docker.io
- name: prep
run: make prep
- name: config
run: make config
- name: build directory
run: mkdir ./sims/build
- name: build
run: make build-sim

0 comments on commit 5ec004c

Please sign in to comment.