Generate macOS static bins under correct name

168950855 only did one half of the job, lol.
This commit is contained in:
ISSOtm
2023-12-29 23:15:52 +01:00
parent 1f3985a164
commit 93d1d85f94

View File

@@ -86,12 +86,12 @@ jobs:
make -j CXXFLAGS="-O3 -flto -DNDEBUG -mmacosx-version-min=10.9 -I include/hacks" PKG_CONFIG="pkg-config --static" PNGLDLIBS="$(pkg-config --static --libs-only-L libpng | cut -c 3-)/libpng.a $(pkg-config --static --libs-only-l libpng | sed s/-lpng[0-9]*//g)" Q=
- name: Package binaries
run: |
zip --junk-paths rgbds-${{ env.version }}-macos-x86-64.zip rgb{asm,link,fix,gfx} man/* .github/scripts/install.sh
zip --junk-paths rgbds-${{ env.version }}-macos-x86_64.zip rgb{asm,link,fix,gfx} man/* .github/scripts/install.sh
- name: Upload macOS binaries
uses: actions/upload-artifact@v3
with:
name: macos
path: rgbds-${{ env.version }}-macos-x86-64.zip
path: rgbds-${{ env.version }}-macos-x86_64.zip
linux:
runs-on: ubuntu-20.04 # Oldest supported, for best glibc compatibility.