mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Build Khoj Debian package on Ubuntu 20.04 to work with Glibc 2.31 (#424)
Build the Debian package using Ubuntu 20.04 instead of 22.04 as Ubuntu 20.04 comes pre-installed with glibc_2.31 unlike Ubuntu 22.04 which uses glibc_2.35
This commit is contained in:
commit
cc951450fb
4 changed files with 8 additions and 8 deletions
6
.github/workflows/build_desktop.yml
vendored
6
.github/workflows/build_desktop.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-20.04
|
||||||
extension: deb
|
extension: deb
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
extension: dmg
|
extension: dmg
|
||||||
|
@ -82,12 +82,12 @@ jobs:
|
||||||
"dist/dmg/"
|
"dist/dmg/"
|
||||||
|
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.0'
|
ruby-version: '3.0'
|
||||||
|
|
||||||
- name: 🐧 Create Debian Package
|
- name: 🐧 Create Debian Package
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# Install Debian Packager
|
# Install Debian Packager
|
||||||
|
|
2
.github/workflows/pypi.yml
vendored
2
.github/workflows/pypi.yml
vendored
|
@ -21,7 +21,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
name: Publish Python Package to PyPI
|
name: Publish Python Package to PyPI
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -70,7 +70,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-20.04
|
||||||
extension: deb
|
extension: deb
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
extension: dmg
|
extension: dmg
|
||||||
|
@ -133,11 +133,11 @@ jobs:
|
||||||
"dist/dmg/"
|
"dist/dmg/"
|
||||||
|
|
||||||
- uses: ruby/setup-ruby@v1
|
- uses: ruby/setup-ruby@v1
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.0'
|
ruby-version: '3.0'
|
||||||
- name: 🐧 Create Debian Package
|
- name: 🐧 Create Debian Package
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-20.04'
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
DEBIAN_PACKAGE_VERSION: ${{ inputs.version }}
|
DEBIAN_PACKAGE_VERSION: ${{ inputs.version }}
|
||||||
|
|
|
@ -37,7 +37,7 @@ classifiers = [
|
||||||
"Topic :: Text Processing :: Linguistic",
|
"Topic :: Text Processing :: Linguistic",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"dateparser == 1.1.1",
|
"dateparser >= 1.1.1",
|
||||||
"defusedxml == 0.7.1",
|
"defusedxml == 0.7.1",
|
||||||
"fastapi == 0.77.1",
|
"fastapi == 0.77.1",
|
||||||
"jinja2 == 3.1.2",
|
"jinja2 == 3.1.2",
|
||||||
|
|
Loading…
Reference in a new issue