-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (45 loc) · 1.33 KB
/
Copy pathscripts-test.yml
File metadata and controls
50 lines (45 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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@v6
with:
persist-credentials: false
- 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@v6
with:
persist-credentials: false
- 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@v6
with:
persist-credentials: false
- 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@v6
with:
persist-credentials: false
- name: Run install script
run: INSTALL_PATH=/usr/local/bin LIBC=musl ./scripts/install-qstract.sh
- run: qstract --sha256 ./test/zarchive1.zip