-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to build the package and upload to dppy/label/dev
Fix post-link script so that tests pass.
- Loading branch information
1 parent
6bf9a5f
commit 305c5ee
Showing
7 changed files
with
111 additions
and
5 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @oleksandr-pavlyk @xaleryb @ZzEeKkAa @ndgrigorian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## Summary of the proposed change | ||
|
||
### Additional details | ||
|
||
### Example illustrating what changed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Conda package | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
permissions: read-all | ||
|
||
env: | ||
PACKAGE_NAME: intel-gpu-ocl-icd-system | ||
|
||
|
||
jobs: | ||
build_and_test_linux: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set pkgs_dirs | ||
run: | | ||
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc | ||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
|
||
- name: Install conda-build | ||
run: conda install conda-build -c conda-forge --override-channels | ||
|
||
- name: Build conda package | ||
run: | | ||
# use bootstrap channel to pull NumPy linked with OpenBLAS | ||
CHANNELS="-c conda-forge --override-channels" | ||
conda build \ | ||
$CHANNELS \ | ||
conda-recipe | ||
- name: Upload artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} | ||
path: /usr/share/miniconda/conda-bld/noarch/${{ env.PACKAGE_NAME }}-*.tar.bz2 | ||
|
||
upload_linux: | ||
needs: build_and_test_linux | ||
if: ${{github.ref == 'refs/heads/master' || (startsWith(github.ref, 'refs/heads/release') == true) || github.event_name == 'push' && contains(github.ref, 'refs/tags/')}} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download conda artifact | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} | ||
|
||
- name: Install anaconda-client | ||
run: conda install anaconda-client -c conda-forge --override-channels | ||
- name: Add conda to system path | ||
run: echo $CONDA/bin >> $GITHUB_PATH | ||
- name: Package version | ||
run: echo "PACKAGE_VERSION=$(basename ${{ env.PACKAGE_NAME }}-*.tar.bz2 | sed 's/^${{ env.PACKAGE_NAME }}-\([^-]*\).*/\1/')" >> $GITHUB_ENV | ||
|
||
- name: Upload | ||
env: | ||
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | ||
run: | | ||
anaconda --token $ANACONDA_TOKEN upload --user dppy --label dev ${PACKAGE_NAME}-*.tar.bz2 | ||
- name: Upload Wheels | ||
env: | ||
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | ||
run: anaconda --token ${{ env.ANACONDA_TOKEN }} upload --user dppy --label dev ${{ env.PACKAGE_NAME }}-*.whl --version ${{ env.PACKAGE_VERSION }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Security Policy | ||
|
||
## Report a Vulnerability | ||
|
||
Please report security issues or vulnerabilities to the [Intel® Security Center]. | ||
|
||
For more information on how Intel® works to resolve security issues, see | ||
[Vulnerability Handling Guidelines]. | ||
|
||
[Intel® Security Center]:https://www.intel.com/content/www/us/en/security-center/default.html | ||
|
||
[Vulnerability Handling Guidelines]:https://www.intel.com/content/www/us/en/security-center/vulnerability-handling-guidelines.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters