Skip to content

Commit

Permalink
Modified build_test.yml to run with DockerFile
Browse files Browse the repository at this point in the history
  • Loading branch information
anuramubc committed Feb 26, 2024
1 parent a7dadad commit 96bd643
Showing 1 changed file with 2 additions and 39 deletions.
41 changes: 2 additions & 39 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,44 +12,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.14
with:
cmake-version: 'latest'
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y libeigen3-dev nlohmann-json3-dev libspdlog-dev
- name: Install Libzip
run: |
git clone https://github.com/nih-at/libzip.git
cd libzip
mkdir build
cd build
cmake ..
sudo make
make install
- name: Install Google Test v1.12.1
run: |
git clone -b release-1.12.1 https://github.com/google/googletest.git
cd googletest
mkdir build
cd build
cmake ..
sudo make
sudo make install
- name: Install mio
run: |
git clone -b master https://github.com/vimpunk/mio.git
cd mio
mkdir build
cd build
cmake ..
sudo make
sudo make install
- name: Build C++ project
run: |
mkdir build
cd build
cmake ..
sudo make
docker build -t ci_cd_image .
docker run ci_cd_image

0 comments on commit 96bd643

Please sign in to comment.