Skip to content

Commit

Permalink
Switch CI to run in VM instead docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Anderson committed Aug 19, 2021
1 parent 3302e84 commit 128c67a
Showing 1 changed file with 14 additions and 29 deletions.
43 changes: 14 additions & 29 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,13 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains 4 jobs. One for every CI test."
Framework:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container:
image: nasafprime/fprime-base:latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs the CI action internal to the repository
- name: Install fprime tools
run: pip3 install fprime-tools fprime-gds
- name: F prime CI step
run: ./ci/tests/Framework.bash
# Archive the outputs
Expand All @@ -36,16 +31,12 @@ jobs:
retention-days: 5

Ref:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container:
image: nasafprime/fprime-base:latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs the CI action internal to the repository
- name: Install fprime tools
run: pip3 install fprime-tools fprime-gds
- name: F prime CI step
run: ./ci/tests/Ref.bash
# Archive the outputs
Expand All @@ -58,16 +49,14 @@ jobs:
retention-days: 5

RPI:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container:
image: nasafprime/fprime-base:latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs the CI action internal to the repository
- name: Install fprime tools
run: pip3 install fprime-tools fprime-gds
- name: Install RPI Toolchain
run: sudo git clone https://github.com/raspberrypi/tools.git /opt/rpi/tools
- name: F prime CI step
run: ./ci/tests/RPI.bash
# Archive the outputs
Expand All @@ -80,16 +69,14 @@ jobs:
retention-days: 5

Integration:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container:
image: nasafprime/fprime-base:latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs the CI action internal to the repository
- name: Install fprime tools
run: pip3 install fprime-tools fprime-gds
- name: Setup Dependencies
run: sudo apt-get install doxygen
- name: F prime CI step
run: ./ci/tests/30-ints.bash
# Archive the outputs
Expand All @@ -102,14 +89,12 @@ jobs:
retention-days: 5

CMake:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container:
image: nasafprime/fprime-base:latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs CMake test cases
- name: Install fprime tools
run: pip3 install fprime-tools fprime-gds
- name: CMake Tests
working-directory: ./cmake/test
run: pytest

0 comments on commit 128c67a

Please sign in to comment.