diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 3921329..f219db0 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -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