Skip to content

Commit

Permalink
Make a copy of binaries that need to be striped
Browse files Browse the repository at this point in the history
  • Loading branch information
Masgalor committed Aug 22, 2024
1 parent d204433 commit 7764ecf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
run: |
mkdir output
mkdir output/burrito_link
mkdir do_not_publish
- name: Build X11_FG
run: |
cd burrito-fg
Expand All @@ -74,6 +75,8 @@ jobs:
chmod +x build/burrito.x86_64
- name: Fill the output folder
run: |
cp burrito_link/build/burrito_link.exe do_not_publish
cp burrito_link/build/d3d11.dll do_not_publish
mv burrito_link/build/burrito_link.exe output/burrito_link
mv burrito_link/build/d3d11.dll output/burrito_link
mv build/burrito.x86_64 output/
Expand All @@ -88,12 +91,12 @@ jobs:
if-no-files-found: error
overwrite: true
- name: Strip the burrito_link binaries for reproducibility
run: strip output/burrito_link/*
run: strip do_not_publish/*
- name: Get the sha256 sums for the produced output files
id: final
run: |
mv output/burrito_link/* output/
rm -rf output/burrito_link
echo 'checksum<<EOF' >> $GITHUB_OUTPUT
sha256sum output/* >> $GITHUB_OUTPUT
sha256sum do_not_publish/* >> $GITHUB_OUTPUT
sha256sum output/* >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT

0 comments on commit 7764ecf

Please sign in to comment.