Skip to content

Commit

Permalink
add artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Jul 14, 2024
1 parent f7dcb77 commit 2adc788
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/glibc-detectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- { name: armv7l, target: arm-unknown-linux-gnueabi }
- { name: ppc64, target: powerpc64-unknown-linux-gnu }
- { name: ppcle64, target: powerpc64le-unknown-linux-gnu }
- { name: s390x, target: s390x-unknown-linux-gnu }
# - { name: s390x, target: s390x-unknown-linux-gnu }
steps:
- name: Checkout source code
uses: actions/checkout@v4
Expand All @@ -53,4 +53,12 @@ jobs:
version: 0.12.0

- name: Run build
run: cargo +nightly-2024-07-14 zigbuild --manifest-path linux-glibc-detectors/Cargo.toml -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target ${{ matrix.target }} --release
run: cargo +nightly-2024-07-14 zigbuild --manifest-path linux-glibc-detectors/Cargo.toml -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort --target ${{ matrix.target }} --release

- name: Move binary
run: mv linux-glibc-detectors/target/${{ matrix.target }}/release/linux-glibc-detectors linux-glibc-detector-${{ matrix.name }}

- uses: actions/upload-artifact@v4
with:
name: linux-glibc-detector-${{ matrix.name }}
path: linux-glibc-detector-${{ matrix.name }}

0 comments on commit 2adc788

Please sign in to comment.