diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b4b3177..8c6b281 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,8 +12,8 @@ on: - main jobs: - ubuntu-latest: - runs-on: ubuntu-latest + release-ubuntu-2004: + runs-on: ubuntu-20.04 steps: - name: Clone @@ -24,9 +24,10 @@ jobs: id: depends run: | sudo apt-get update - sudo apt-get install -y build-essential cmake libpython3-dev - pip3 install torch --index-url https://download.pytorch.org/whl/cpu - pip3 install transformers tiktoken pyinstaller + sudo apt-get install -y build-essential libpython3-dev + python3 -m pip install cmake + python3 -m pip install torch --index-url https://download.pytorch.org/whl/cpu + python3 -m pip install transformers tiktoken pyinstaller - name: Build backend server id: cmake_build_backend_server diff --git a/CMakeLists.txt b/CMakeLists.txt index 22b6789..5e5c8fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.17) +cmake_minimum_required(VERSION 3.16) set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) project(flatline C CXX) set(CMAKE_CXX_STANDARD 20)