Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
Make code dash friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
charles8191 authored Jan 5, 2025
1 parent 8d4f422 commit c412310
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,36 +26,36 @@ jobs:
podman run -v ./out-alpine:/out ghcr.io/charles8191/hardened_malloc/artifact:alpine
- name: Build binary using Debian
run: |
set -euxo pipefail
set -ex
mkdir out-debian
podman run -v ./out-debian:/out ghcr.io/charles8191/hardened_malloc/artifact:debian
- name: Build binary using RHEL
run: |
set -euxo pipefail
set -ex
mkdir out-rhel
podman run -v ./out-rhel:/out ghcr.io/charles8191/hardened_malloc/artifact:debian
- name: Configure Git
run: |
set -euxo pipefail
set -ex
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Push Alpine binary
run: |
set -euxo pipefail
set -ex
cp -vf out-alpine/libhardened_malloc.so libhardened_malloc-alpine.so
git add libhardened_malloc-alpine.so
git commit --allow-empty -m "[AUTOMATED] Upload Alpine binary"
git push
- name: Push Debian binary
run: |
set -euxo pipefail
set -ex
cp -vf out-debian/libhardened_malloc.so libhardened_malloc-debian.so
git add libhardened_malloc-debian.so
git commit --allow-empty -m "[AUTOMATED] Upload Debian binary"
git push
- name: Push RHEL binary
run: |
set -euxo pipefail
set -ex
cp -vf out-rhel/libhardened_malloc.so libhardened_malloc-rhel.so
git add libhardened_malloc-rhel.so
git commit --allow-empty -m "[AUTOMATED] Upload RHEL binary"
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
set -euxo pipefail
set -ex
git clone https://github.com/GrapheneOS/hardened_malloc.git /hardened_malloc
cd hardened_malloc
make -j$(nproc)
Expand Down

0 comments on commit c412310

Please sign in to comment.