From 9da93b0ff355c9538c20ce73e1ff7800fca872e0 Mon Sep 17 00:00:00 2001 From: Kunlin Yu Date: Thu, 26 Dec 2024 16:26:19 +0800 Subject: [PATCH] Update cmake-single-platform.yml --- .github/workflows/cmake-single-platform.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) 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.