Skip to content

Commit

Permalink
fix release ubuntu version
Browse files Browse the repository at this point in the history
  • Loading branch information
okdshin committed Nov 26, 2023
1 parent 7ce9018 commit 432a7c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
- main

jobs:
ubuntu-latest:
runs-on: ubuntu-latest
release-ubuntu-2004:
runs-on: ubuntu-20.04

steps:
- name: Clone
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit 432a7c2

Please sign in to comment.