-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/nuget/src/csharp/Intel/xunit.ru…
…nner.visualstudio-3.0.1
- Loading branch information
Showing
6 changed files
with
87 additions
and
46 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -331,7 +331,7 @@ jobs: | |
# shell: bash -le {0} | ||
# setup-python is faster to install than setup-miniconda so we only | ||
# use setup-miniconda if this is a macos image. | ||
- uses: conda-incubator/[email protected].0 | ||
- uses: conda-incubator/[email protected].1 | ||
with: | ||
python-version: '3.8' | ||
- name: Install Python tools | ||
|
@@ -346,7 +346,7 @@ jobs: | |
./build/build-python --no-set-rustflags --python python --quick-check | ||
git clean -xdf | ||
- uses: conda-incubator/[email protected].0 | ||
- uses: conda-incubator/[email protected].1 | ||
with: | ||
python-version: '3.8' | ||
- name: Build and test the wheel | ||
|
@@ -355,7 +355,7 @@ jobs: | |
python --version 2>&1 | grep 'Python 3\.8' | ||
bash build/ci-py-build-wheels.sh --build | ||
- uses: conda-incubator/[email protected].0 | ||
- uses: conda-incubator/[email protected].1 | ||
with: | ||
python-version: '3.9' | ||
- name: Build and test the wheel | ||
|
@@ -364,7 +364,7 @@ jobs: | |
python --version 2>&1 | grep 'Python 3\.9' | ||
bash build/ci-py-build-wheels.sh | ||
- uses: conda-incubator/[email protected].0 | ||
- uses: conda-incubator/[email protected].1 | ||
with: | ||
python-version: '3.10' | ||
- name: Build and test the wheel | ||
|
@@ -373,7 +373,7 @@ jobs: | |
python --version 2>&1 | grep 'Python 3\.10' | ||
bash build/ci-py-build-wheels.sh | ||
- uses: conda-incubator/[email protected].0 | ||
- uses: conda-incubator/[email protected].1 | ||
with: | ||
python-version: '3.11' | ||
- name: Build and test the wheel | ||
|
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,43 @@ | ||
#!/bin/bash | ||
export DEBIAN_FRONTEND=noninteractive | ||
|
||
# Check if the package name is provided | ||
if [ -z "$1" ]; then | ||
echo "Usage: $0 <package-name>" | ||
exit 1 | ||
fi | ||
|
||
PACKAGE=$1 | ||
sudo apt-get update | ||
|
||
# Check if the package is available on the current system | ||
if apt-cache show "$PACKAGE" > /dev/null 2>&1; then | ||
echo "Package '$PACKAGE' is available in the current repository. Installing..." | ||
sudo apt-get update | ||
sudo apt-get install -y "$PACKAGE" | ||
exit 0 | ||
else | ||
echo "Package '$PACKAGE' is not available in the current repository." | ||
echo "Adding the Ubuntu 22.04 (Jammy) repository..." | ||
fi | ||
|
||
# Add the Ubuntu 22.04 (Jammy) repository | ||
echo "deb http://archive.ubuntu.com/ubuntu jammy main universe" | sudo tee /etc/apt/sources.list.d/ubuntu-jammy.list | ||
|
||
# Update the package list | ||
sudo apt-get update | ||
|
||
# Try to install the package | ||
if sudo apt-get install -y "$PACKAGE"; then | ||
echo "Package '$PACKAGE' installed successfully from the Ubuntu 22.04 repository." | ||
else | ||
echo "Failed to install '$PACKAGE'. It might have unresolved dependencies." | ||
fi | ||
|
||
# Clean up: Remove the Ubuntu 22.04 repository | ||
echo "Cleaning up the Ubuntu 22.04 repository..." | ||
sudo rm /etc/apt/sources.list.d/ubuntu-jammy.list | ||
sudo apt-get update | ||
|
||
exit 0 | ||
|
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
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