mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 00:44:55 +03:00
Run test integ on generic macos package
This commit is contained in:
parent
17aba51cf0
commit
1d1600a446
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@ -119,7 +119,21 @@ jobs:
|
||||
run: |
|
||||
bin/release/man.sh
|
||||
bin/release/release.sh
|
||||
bin/release/create_tarball.sh macos
|
||||
echo "PATH=:${PWD}/target/release:$PATH" >> "${GITHUB_ENV}"
|
||||
- name: Test integ
|
||||
run: |
|
||||
bin/test/test_prerequisites.sh
|
||||
bin/test/test_integ.sh
|
||||
- name: Create generic macos package
|
||||
run: bin/release/create_tarball.sh macos
|
||||
- name: Install package
|
||||
run: |
|
||||
bin/release/install_generic_macos_package.sh
|
||||
echo "PATH=/tmp/hurl-generic-macos:$PATH" >> "${GITHUB_ENV}"
|
||||
- name: Test integ
|
||||
run: |
|
||||
bin/test/test_prerequisites.sh
|
||||
bin/test/test_integ.sh
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
15
bin/release/install_generic_macos_package.sh
Executable file
15
bin/release/install_generic_macos_package.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "----- install generic macos package -----"
|
||||
|
||||
# install
|
||||
generic_macos_package=$(ls target/upload/hurl-*-x86_64-macos.tar.gz)
|
||||
|
||||
install_dir="/tmp/hurl-generic-macos"
|
||||
mkdir -p "${install_dir}"
|
||||
tar xvf "${generic_macos_package}" -C "${install_dir}" --strip-components=1
|
||||
|
||||
# Return PATH var to parent shell
|
||||
echo "Run this if you want to use fresh builded hurl package:"
|
||||
echo " export PATH=${install_dir}:$PATH"
|
Loading…
Reference in New Issue
Block a user