Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate artifacts in tar.gz #5

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 20 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:

- run: make -f utils.mk build_32

- run: tar -czf mtxrpicam_32.tar.gz mtxrpicam_32

- uses: actions/upload-artifact@v4
with:
path: mtxrpicam_32
name: mtxrpicam_32
path: mtxrpicam_32.tar.gz
name: mtxrpicam_32.tar.gz

build_64:
runs-on: ubuntu-22.04
Expand All @@ -28,10 +30,12 @@ jobs:

- run: make -f utils.mk build_64

- run: tar -czf mtxrpicam_64.tar.gz mtxrpicam_64

- uses: actions/upload-artifact@v4
with:
path: mtxrpicam_64
name: mtxrpicam_64
path: mtxrpicam_64.tar.gz
name: mtxrpicam_64.tar.gz

test_bullseye_32:
needs: build_32
Expand All @@ -42,10 +46,10 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: mtxrpicam_32
path: mtxrpicam_32
name: mtxrpicam_32.tar.gz
path: .

- run: chmod +x ./mtxrpicam_32/exe
- run: tar xvf mtxrpicam_32.tar.gz

- run: make -f utils.mk test_bullseye_32

Expand All @@ -58,10 +62,10 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: mtxrpicam_64
path: mtxrpicam_64
name: mtxrpicam_64.tar.gz
path: .

- run: chmod +x ./mtxrpicam_64/exe
- run: tar xvf mtxrpicam_64.tar.gz

- run: make -f utils.mk test_bullseye_64

Expand All @@ -74,10 +78,10 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: mtxrpicam_32
path: mtxrpicam_32
name: mtxrpicam_32.tar.gz
path: .

- run: chmod +x ./mtxrpicam_32/exe
- run: tar xvf mtxrpicam_32.tar.gz

- run: make -f utils.mk test_bookworm_32

Expand All @@ -90,9 +94,9 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: mtxrpicam_64
path: mtxrpicam_64
name: mtxrpicam_64.tar.gz
path: .

- run: chmod +x ./mtxrpicam_64/exe
- run: tar xvf mtxrpicam_64.tar.gz

- run: make -f utils.mk test_bookworm_64