Skip to content
Open
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
6 changes: 4 additions & 2 deletions .github/workflows/make.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: make

# spell-checker:ignore (abbrev/names) CACHEDIR taiki
# spell-checker:ignore (env/flags) CHERE RUSTDOCFLAGS RUSTFLAGS CARGOFLAGS CLEVEL
# spell-checker:ignore (env/flags) CHERE RUSTDOCFLAGS RUSTFLAGS CARGOFLAGS CLEVEL relocs
# spell-checker:ignore (jargon) deps softprops toolchain
# spell-checker:ignore (people) dawidd
# spell-checker:ignore (shell/tools) bsdtar nextest pacman sccache zstd
Expand Down Expand Up @@ -34,6 +34,9 @@ concurrency:
jobs:
build_makefile:
name: Build/Makefile and measure binary size
env:
# to reduce the size:
RUSTFLAGS: "-C force-unwind-tables=no -C strip=symbols -Clink-arg=-z -Clink-arg=pack-relative-relocs"
Comment thread
oech3 marked this conversation as resolved.
permissions:
contents: write # Publish individual binaries
runs-on: ${{ matrix.job.os }}
Expand Down Expand Up @@ -144,7 +147,6 @@ jobs:
run: |
# Check that libstdbuf is present too
mv target/release/deps/libstdbuf.so -t /tmp/individual/usr/local/bin
strip -s /tmp/individual/usr/local/bin/*
ZSTD_CLEVEL=19 tar --zstd -caf individual-x86_64-unknown-linux-gnu.tar.zst -C /tmp/individual/usr/local bin
- name: Publish
uses: softprops/action-gh-release@v3
Expand Down
Loading