Skip to content

Commit

Permalink
disable arm test for installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
salamaashoush committed May 27, 2024
1 parent 8e3b8ea commit 7d34d36
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
60 changes: 29 additions & 31 deletions .github/workflows/install_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,42 @@ on:
- scripts/install.sh

jobs:
test_against_latest_release_arm:
strategy:
matrix:
docker_image:
- arm64v8/ubuntu
name: Test against latest release (ARM)
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v3
- uses: actions/checkout@v4
- name: Run installation script in Docker
run: |
docker run --rm -v $(pwd):$(pwd) -e "RUST_LOG=pactuo=debug" --workdir $(pwd) ${{matrix.docker_image}} bash -c '
set -e
# test_against_latest_release_arm:
# strategy:
# matrix:
# docker_image:
# - arm64v8/ubuntu
# name: Test against latest release (ARM)
# runs-on: ubuntu-latest
# steps:
# - name: Set up QEMU
# id: qemu
# uses: docker/setup-qemu-action@v3
# - uses: actions/checkout@v4
# - name: Run installation script in Docker
# run: |
# docker run --rm -v $(pwd):$(pwd) -e "RUST_LOG=pactuo=debug" --workdir $(pwd) ${{matrix.docker_image}} bash -c '
# set -e

apt update && apt install -y unzip curl libatomic1
# apt update && apt install -y unzip curl libatomic1

echo "-------------------------------------"
echo "Installing for CPU arch: $(uname -m)"
# echo "-------------------------------------"
# echo "Installing for CPU arch: $(uname -m)"

bash ./scripts/install.sh
# bash ./scripts/install.sh

echo "pactup --version"
~/.local/share/pactup/pactup --version
# echo "pactup --version"
# ~/.local/share/pactup/pactup --version

echo "eval pactup env"
eval "$(~/.local/share/pactup/pactup env)"
# echo "eval pactup env"
# eval "$(~/.local/share/pactup/pactup env)"

echo "pactup install"
~/.local/share/pactup/pactup install 4.11
# echo "pactup install"
# ~/.local/share/pactup/pactup install 4.11

echo "pact --version"
~/.local/share/pactup/pactup exec --using=4.11 -- pact --version
'
# echo "pact --version"
# ~/.local/share/pactup/pactup exec --using=4.11 -- pact --version
# '

test_against_latest_release:
name: Test against latest release
Expand All @@ -57,8 +57,6 @@ jobs:
script_arguments: ""
- os: macos
script_arguments: ""
- os: macos
script_arguments: ""
runs-on: ${{ matrix.setup.os }}-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ setup_shell() {
echo "In order to apply the changes, open a new terminal or run the following command:"
echo ""
echo " source $CONF_FILE"
echo ""
echo "After that, enjoy using pactup! 🎉"
}

parse_args "$@"
Expand Down

0 comments on commit 7d34d36

Please sign in to comment.