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

Test Linux Binaries after they're built in CI (Cont'd) #160

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
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
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,23 +123,23 @@ jobs:
# name: coveralls-linux.tar.gz
# path: dist/coveralls-linux.tar.gz
#
# - name: Upload coveralls-linux-x86_64
# uses: actions/upload-artifact@v4
# with:
# name: coveralls-linux-x86_64
# path: dist/coveralls-linux-x86_64
- name: Upload coveralls-linux-x86_64
uses: actions/upload-artifact@v4
with:
name: coveralls-linux-x86_64
path: dist/coveralls-linux-x86_64
#
# - name: Upload coveralls-linux-x86_64.tar.gz
# uses: actions/upload-artifact@v4
# with:
# name: coveralls-linux-x86_64.tar.gz
# path: dist/coveralls-linux-x86_64.tar.gz
#
# - name: Upload coveralls-linux-aarch64
# uses: actions/upload-artifact@v4
# with:
# name: coveralls-linux-aarch64
# path: dist/coveralls-linux-aarch64
- name: Upload coveralls-linux-aarch64
uses: actions/upload-artifact@v4
with:
name: coveralls-linux-aarch64
path: dist/coveralls-linux-aarch64
#
# - name: Upload coveralls-linux-aarch64.tar.gz
# uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-binaries-qemu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
name: coveralls-linux-binaries
name: coveralls-linux-x86_64
path: ./artifacts
- name: Test binary
env:
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
name: coveralls-linux-binaries
name: coveralls-linux-aarch64
path: ./artifacts
- name: Test binary
env:
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/test-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,27 @@ jobs:
curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
"https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.event.workflow_run.id }}/artifacts" | jq '.artifacts[] | .name'

- name: Download built artifacts (linux binaries)
# - name: Download built artifacts (linux binaries)
# uses: actions/download-artifact@v4
# with:
# run-id: ${{ github.event.workflow_run.id }}
# name: coveralls-linux-binaries
# path: ./binaries/

- name: Download built x86_64 binary
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
name: coveralls-linux-binaries
name: coveralls-linux-x86_64
path: ./binaries/

- name: Download built aarch64 binary
uses: actions/download-artifact@v4
with:
run-id: ${{ github.event.workflow_run.id }}
name: coveralls-linux-aarch64
path: ./binaries/

# Debug step to list available artifacts
- name: List available artifacts in ./binaries/
run: ls -la ./binaries/
Expand Down