-
Notifications
You must be signed in to change notification settings - Fork 526
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb7f2b8
commit 45d3460
Showing
8 changed files
with
75 additions
and
48 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 |
---|---|---|
|
@@ -28,9 +28,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
which python3 | ||
|
@@ -131,7 +131,7 @@ jobs: | |
echo "::endgroup::" | ||
echo "::group::Install python 3.11" | ||
bin/install_pythonx_for_ubuntu.sh 11 | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
echo "::endgroup::" | ||
echo "::group::Install Rust" | ||
|
@@ -182,8 +182,8 @@ jobs: | |
echo "::group::Install system prerequisites" | ||
bin/install_prerequisites_debian.sh | ||
echo "::endgroup::" | ||
echo "::group::Install python3 venv" | ||
bin/install_python3_venv.sh | ||
echo "::group::Activate python3 venv" | ||
bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
which python3 | ||
python3 --version | ||
|
@@ -233,8 +233,8 @@ jobs: | |
echo "::group::Install system prerequisites" | ||
bin/install_prerequisites_archlinux.sh | ||
echo "::endgroup::" | ||
echo "::group::Install python3 venv" | ||
bin/install_python3_venv.sh | ||
echo "::group::Activate python3 venv" | ||
bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
which python3 | ||
python3 --version | ||
|
@@ -287,8 +287,8 @@ jobs: | |
echo "::group::Install system prerequisites" | ||
bin/install_prerequisites_fedora.sh | ||
echo "::endgroup::" | ||
echo "::group::Install python3 venv" | ||
bin/install_python3_venv.sh | ||
echo "::group::Activate python3 venv" | ||
bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
which python3 | ||
python3 --version | ||
|
@@ -361,7 +361,7 @@ jobs: | |
bash bin/install_prerequisites_alpine.sh | ||
echo "::endgroup::" | ||
echo "::group::Install tests prerequisites" | ||
bash bin/install_python3_venv.sh | ||
bash bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
which python3 | ||
python3 --version | ||
|
@@ -399,9 +399,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
which python3 | ||
|
@@ -448,9 +448,9 @@ jobs: | |
run: | | ||
bin/install_prerequisites_macos.sh | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
which python3 | ||
|
@@ -497,9 +497,9 @@ jobs: | |
run: | | ||
bin/install_prerequisites_macos.sh | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
which python3 | ||
|
@@ -563,21 +563,24 @@ jobs: | |
with: | ||
python-version: '3.11' | ||
- name: Environment | ||
run: .\bin\environment.ps1 | ||
- name: Build | ||
run: | | ||
.\bin\release\release.ps1 | ||
.\bin\activate_python3_venv.ps1 | ||
.\bin\environment.ps1 | ||
- name: Build | ||
run: .\bin\release\release.ps1 | ||
- name: Create windows64 Zip package | ||
run: .\bin\release\create_windows64_zip_package.ps1 | ||
- name: Install win64 zip and test integ | ||
run: | | ||
.\bin\activate_python3_venv.ps1 | ||
.\bin\release\install_windows64_zip_package.ps1 | ||
.\bin\test\test_prerequisites.ps1 | ||
.\bin\test\test_integ.ps1 | ||
- name: Create windows64 installer | ||
run: .\bin\release\create_windows64_installer.ps1 | ||
- name: Install win64 installer and test integ | ||
run: | | ||
.\bin\activate_python3_venv.ps1 | ||
.\bin\release\install_windows64_installer.ps1 | ||
.\bin\test\test_prerequisites.ps1 | ||
.\bin\test\test_integ.ps1 | ||
|
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 |
---|---|---|
|
@@ -28,9 +28,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
- name: Install Rust | ||
run: bin/install_rust.sh | ||
|
@@ -82,9 +82,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
- name: Install Rust | ||
|
@@ -126,9 +126,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
- name: Install Rust | ||
|
@@ -171,8 +171,8 @@ jobs: | |
echo "::group::Install Prerequisites" | ||
bin/install_prerequisites_archlinux.sh | ||
echo "::endgroup::" | ||
echo "::group::Install python3 venv" | ||
bin/install_python3_venv.sh | ||
echo "::group::Activate python3 venv" | ||
bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
which python3 | ||
python3 --version | ||
|
@@ -215,8 +215,8 @@ jobs: | |
echo "::group::Install Prerequisites" | ||
bin/install_prerequisites_fedora.sh | ||
echo "::endgroup::" | ||
echo "::group::Install python3 venv" | ||
bin/install_python3_venv.sh | ||
echo "::group::Activate python3 venv" | ||
bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
which python3 | ||
python3 --version | ||
|
@@ -262,8 +262,8 @@ jobs: | |
echo "::group::Install Prerequisites" | ||
bin/install_prerequisites_alpine.sh | ||
echo "::endgroup::" | ||
echo "::group::Install python3 venv" | ||
bin/install_python3_venv.sh | ||
echo "::group::Activate python3 venv" | ||
bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
which python3 | ||
python3 --version | ||
|
@@ -304,9 +304,9 @@ jobs: | |
run: | | ||
bin/install_prerequisites_macos.sh | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
which python3 | ||
|
@@ -352,9 +352,9 @@ jobs: | |
run: | | ||
bin/install_prerequisites_macos.sh | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
- name: Install python3 venv | ||
- name: Activate python3 venv | ||
run: | | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH="/tmp/hurl-python3-venv/bin:$PATH" | ||
echo "PATH=$PATH" >> $GITHUB_ENV | ||
which python3 | ||
|
@@ -403,8 +403,7 @@ jobs: | |
with: | ||
ref: ${{ inputs.branch }} | ||
- name: Install Rust | ||
run: | | ||
.\bin\install_rust.ps1 | ||
run: .\bin\install_rust.ps1 | ||
- name: Manage vcpkg cache | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -416,10 +415,18 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
python-version: '3.11' | ||
- name: Environment | ||
run: .\bin\environment.ps1 | ||
- name: Build and test | ||
run: .\bin\test\test.ps1 | ||
- name: Build, Test units and Integration tests | ||
run: | | ||
# Build, Test units and Integration tests | ||
echo "::group::Activate python3 venv" | ||
.\bin\activate_python3_venv.ps1 | ||
echo "::endgroup::" | ||
echo "::group::Environment" | ||
.\bin\environment.ps1 | ||
echo "::endgroup::" | ||
echo "::group::Tests" | ||
.\bin\test\test.ps1 | ||
echo "::endgroup::" | ||
- name: Archive production artifacts | ||
uses: actions/[email protected] | ||
if: ${{ always() }} | ||
|
@@ -468,7 +475,7 @@ jobs: | |
echo "::endgroup::" | ||
echo "::group::Install python 3.11" | ||
bin/install_pythonx_for_ubuntu.sh 11 | ||
bin/install_python3_venv.sh | ||
bin/activate_python3_venv.sh | ||
export PATH=/tmp/hurl-python3-venv/bin:$PATH | ||
echo "::endgroup::" | ||
echo "::group::Install tests integ prerequisistes" | ||
|
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,9 @@ | ||
Set-StrictMode -Version latest | ||
$ErrorActionPreference = 'Stop' | ||
|
||
write-host -foregroundcolor Cyan "----- activate python venv -----" | ||
|
||
python -m venv "$env:TMP\venv" | ||
. $env:TMP\venv\Scripts\activate.ps1 | ||
python -m pip install --upgrade pip --quiet | ||
|
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
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