UID2-2349 Add build pipeline for aws vsock proxy #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build/Test/Package | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: amazonlinux:2 | |
strategy: | |
matrix: | |
build_type: [debug, relwithdebinfo] | |
steps: | |
- name: Dev environment | |
run: | | |
yum groupinstall -y "Development Tools" | |
yum install -y cmake3 valgrind git | |
- uses: actions/checkout@v3 | |
- name: Build and Test | |
run: | | |
cmake3 -S . -B build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} | |
cd build | |
make package | |
make test |