* Update push-test.yml

When the upload-artifact action was updated to v4, the behavior of it changes such that you cannot create a unified "artifact" by having it add files to an existing artifact name. Instead, they all require a unique artifact name to be uploaded.

This should fix the current workflow build errors.

* Trying to fix the workflow to handle the name collision problem that starts in upload-artifact@v4

* Trying to get the cibuildwheel tool to work with the changes to AlmaLinux8 (why the heck is this docker image still shipping with an old gpg key anyway)

* Dynamic and Dynamic Labels were both trying to write to the  artifact
This commit is contained in:
Dax Pryce 2024-10-23 10:49:39 -07:00 коммит произвёл GitHub
Родитель 6f2691c726
Коммит 364a565624
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
10 изменённых файлов: 12 добавлений и 14 удалений

2
.github/workflows/disk-pq.yml поставляемый
Просмотреть файл

@ -111,7 +111,7 @@ jobs:
- name: upload data and bin
uses: actions/upload-artifact@v4
with:
name: disk-pq
name: disk-pq-${{matrix.os}}
path: |
./dist/**
./data/**

2
.github/workflows/dynamic-labels.yml поставляемый
Просмотреть файл

@ -96,7 +96,7 @@ jobs:
- name: upload data and bin
uses: actions/upload-artifact@v4
with:
name: dynamic
name: dynamic-labels-${{matrix.os}}
path: |
./dist/**
./data/**

2
.github/workflows/dynamic.yml поставляемый
Просмотреть файл

@ -69,7 +69,7 @@ jobs:
- name: upload data and bin
uses: actions/upload-artifact@v4
with:
name: dynamic
name: dynamic-${{matrix.os}}
path: |
./dist/**
./data/**

2
.github/workflows/in-mem-no-pq.yml поставляемый
Просмотреть файл

@ -75,7 +75,7 @@ jobs:
- name: upload data and bin
uses: actions/upload-artifact@v4
with:
name: in-memory-no-pq
name: in-memory-no-pq-${{matrix.os}}
path: |
./dist/**
./data/**

2
.github/workflows/in-mem-pq.yml поставляемый
Просмотреть файл

@ -50,7 +50,7 @@ jobs:
- name: upload data and bin
uses: actions/upload-artifact@v4
with:
name: in-memory-pq
name: in-memory-pq-${{matrix.os}}
path: |
./dist/**
./data/**

2
.github/workflows/labels.yml поставляемый
Просмотреть файл

@ -113,7 +113,7 @@ jobs:
- name: upload data and bin
uses: actions/upload-artifact@v4
with:
name: labels
name: labels-${{matrix.os}}
path: |
./dist/**
./data/**

2
.github/workflows/multi-sector-disk-pq.yml поставляемый
Просмотреть файл

@ -54,7 +54,7 @@ jobs:
- name: upload data and bin
uses: actions/upload-artifact@v4
with:
name: multi-sector-disk-pq
name: multi-sector-disk-pq-${{matrix.os}}
path: |
./dist/**
./data/**

2
.github/workflows/perf.yml поставляемый
Просмотреть файл

@ -21,6 +21,6 @@ jobs:
- name: Upload Metrics Logs
uses: actions/upload-artifact@v4
with:
name: metrics
name: metrics-${{matrix.os}}
path: |
./metrics/**

9
.github/workflows/push-test.yml поставляемый
Просмотреть файл

@ -35,19 +35,16 @@ jobs:
with:
fetch-depth: 1
submodules: true
- name: Build dispannpy dependency tree
- name: Build diskannpy dependency tree
run: |
pip install diskannpy pipdeptree
echo "dependencies" > dependencies_${{ matrix.os }}.txt
pipdeptree >> dependencies_${{ matrix.os }}.txt
- name: Archive dispannpy dependencies artifact
- name: Archive diskannpy dependencies artifact
uses: actions/upload-artifact@v4
with:
name: dependencies
name: dependencies_${{ matrix.os }}
path: |
dependencies_${{ matrix.os }}.txt
- name: DiskANN Build CLI Applications
uses: ./.github/actions/build
# python:
# name: DiskANN Build Python Wheel
# uses: ./.github/workflows/build-python.yml

Просмотреть файл

@ -47,6 +47,7 @@ test-command = "python -m unittest discover {project}/python/tests"
[tool.cibuildwheel.linux]
before-build = [
"rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux",
"dnf makecache --refresh",
"dnf upgrade -y almalinux-release",
"dnf install -y epel-release",