diff --git a/.github/workflows/cmake-single-platform.yml b/.github/workflows/cmake-single-platform.yml index 27f6ca3..8327237 100644 --- a/.github/workflows/cmake-single-platform.yml +++ b/.github/workflows/cmake-single-platform.yml @@ -18,19 +18,12 @@ jobs: # You can convert this to a matrix build if you need cross-platform coverage. # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix runs-on: ubuntu-latest - + container: + image: kunlinyu/cql2cpp:latest + options: -v .:/home/ubuntu/cql2cpp/ + steps: - uses: actions/checkout@v4 - - - name: Install dependencies by apt - run: | - sudo apt-get update - sudo apt-get install -y flex++ - sudo apt-get install -y bison++ - sudo apt-get install -y libgeos++-dev - sudo apt-get install -y libgflags-dev - sudo apt-get install -y googletest - sudo apt-get install -y libgoogle-glog-dev - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.