mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 12:15:39 +00:00
Generate install.sh with make -n install (#1996)
This commit is contained in:
1 parent
586c3073f9
commit
0e3d1df129
5 files changed
+25
-16
No files matched your search
@@ -70,9 +70,12 @@ jobs:
|
||||
strip rgb{asm,link,fix,gfx}
|
||||
env:
|
||||
LDFLAGS: -fuse-ld=lld # cmake/macos-static.cmake comments explain why we use lld.
|
||||
- name: Create install script
|
||||
run: |
|
||||
make install.sh
|
||||
- name: Package binaries
|
||||
run: |
|
||||
zip --junk-paths rgbds-macos.zip rgb{asm,link,fix,gfx} man/* .github/scripts/install.sh
|
||||
zip --junk-paths rgbds-macos.zip rgb{asm,link,fix,gfx} man/* install.sh
|
||||
- name: Upload macOS binaries
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
@@ -92,9 +95,12 @@ jobs:
|
||||
run: |
|
||||
make -kj WARNFLAGS="-Wall -Wextra -pedantic -static" PKG_CONFIG="pkg-config --static" Q=
|
||||
strip rgb{asm,link,fix,gfx}
|
||||
- name: Create install script
|
||||
run: |
|
||||
make install.sh Q=
|
||||
- name: Package binaries
|
||||
run: |
|
||||
tar caf rgbds-linux-x86_64.tar.xz --transform='s#.*/##' rgb{asm,link,fix,gfx} man/* .github/scripts/install.sh
|
||||
tar caf rgbds-linux-x86_64.tar.xz --transform='s#.*/##' rgb{asm,link,fix,gfx} man/* install.sh
|
||||
- name: Upload Linux binaries
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user