1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-10 06:03:38 +00:00

tweak what is backported, as requested

- don't backport `pyproject.toml` or related changes
- install some additional -dev packages with `apt-get` for CodeQL
- run CodeQL in a python venv
This commit is contained in:
aspargas2 2022-03-07 10:14:22 -05:00
parent 4fb6df813a
commit 2425f54bdb
3 changed files with 5 additions and 6 deletions

View file

@ -47,8 +47,9 @@ jobs:
${{ runner.os }}-
- name: Install requirements
run: |
sudo apt-get update
sudo apt-get install -y libacl1-dev
sudo apt-get update
sudo apt-get install -y pkg-config build-essential
sudo apt-get install -y libssl-dev libacl1-dev libxxhash-dev liblz4-dev libzstd-dev
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
@ -60,6 +61,8 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main
- name: Build and install Borg
run: |
python3 -m venv ../borg-env
source ../borg-env/bin/activate
pip3 install -r requirements.d/development.txt
pip3 install -e .
- name: Perform CodeQL Analysis

View file

@ -1,3 +0,0 @@
[build-system]
requires = ["setuptools", "pkgconfig", "Cython!=0.27"]
build-backend = "setuptools.build_meta"

View file

@ -19,7 +19,6 @@ try:
except ImportError:
cythonize = None
sys.path += [os.path.dirname(__file__)]
import setup_checksums
import setup_compress
import setup_crypto