Add another script test #8
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
name: Test Scripts | |
on: | |
push: | |
branches: [ main ] | |
paths: [ .github/workflows/scripts-test.yml, scripts/** ] | |
pull_request: | |
branches: [ main ] | |
paths: [ .github/workflows/scripts-test.yml, scripts/** ] | |
workflow_dispatch: | |
jobs: | |
test-install-script-1: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run install script | |
run: ./scripts/install-qstract.sh | |
- run: ./qstract ./test/t3archive.tar | |
test-install-script-2: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run install script | |
run: LIBC=musl ./scripts/install-qstract.sh | |
- run: ./qstract -z ./test/tarchive1.tar.gz | |
test-install-script-3: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run install script | |
run: TARGET_STRING=aarch64-apple-darwin ./scripts/install-qstract.sh | |
test-install-script-4: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run install script | |
run: INSTALL_PATH=/usr/local/bin LIBC=musl ./scripts/install-qstract.sh | |
- run: ./qstract --sha256 ./test/zarchive.zip |