Skip to content

Commit

Permalink
Switch to uv. Deleted unwanted directories
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Feb 25, 2025
1 parent 8d79462 commit 462e537
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-meson-tst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
uv sync --all-extras --dev
- name: Clean up previous
run: |
rm -f info.log
rm -f blint.db
rm -rf ${BLINT_DB_TEMP}
- name: Build and upload db
run: |
mkdir -p temp
mkdir -p ${BLINT_DB_TEMP}
uv run blint-db --clean-start -f -Z1
python ./.oras/orasclient.py -p meson-tst
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
BLINT_DB_TEMP: ${{ runner.temp }}/blint-db-temp
6 changes: 3 additions & 3 deletions .github/workflows/build-meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
uv sync --all-extras --dev
- name: Clean up previous
run: |
rm -f info.log
rm -f blint.db
rm -rf ${BLINT_DB_TEMP}
- name: Build and upload db
run: |
mkdir -p temp
mkdir -p ${BLINT_DB_TEMP}
uv run blint-db --clean-start -Z1
python ./.oras/orasclient.py -p meson
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
BLINT_DB_TEMP: ${{ runner.temp }}/blint-db-temp
7 changes: 4 additions & 3 deletions .github/workflows/build-vcpkg-tst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
uv sync --all-extras --dev
- name: Clean up previous
run: |
rm -f info.log
rm -f blint.db
rm -rf ${BLINT_DB_TEMP}
- name: Build and upload db
run: |
mkdir -p temp
mkdir -p ${BLINT_DB_TEMP}
uv run blint-db --clean-start -f -Z2
python ./.oras/orasclient.py -p vcpkg-tst
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
VCPKG_FORCE_SYSTEM_BINARIES: arm
BLINT_DB_TEMP: ${{ runner.temp }}/blint-db-temp
7 changes: 4 additions & 3 deletions .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
uv sync --all-extras --dev
- name: Clean up previous
run: |
rm -f info.log
rm -f blint.db
rm -rf ${BLINT_DB_TEMP}
- name: Build and upload db
run: |
mkdir -p temp
mkdir -p ${BLINT_DB_TEMP}
uv run blint-db --clean-start -Z2
python ./.oras/orasclient.py -p vcpkg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
VCPKG_FORCE_SYSTEM_BINARIES: arm
BLINT_DB_TEMP: ${{ runner.temp }}/blint-db-temp
2 changes: 1 addition & 1 deletion blint_db/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# variables
DEBUG_MODE = False
# constants
TEMP_PATH = Path.cwd() / "temp"
TEMP_PATH = Path(os.getenv("BLINT_DB_TEMP", Path.cwd().absolute())) / "temp"
WRAPDB_LOCATION = TEMP_PATH / "wrapdb"
VCPKG_LOCATION = TEMP_PATH / "vcpkg"

Expand Down

0 comments on commit 462e537

Please sign in to comment.