mirror of
https://github.com/encounter/gc-wii-binutils.git
synced 2026-07-10 03:18:49 -07:00
Only upload bin
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: linux-${{ matrix.name }}
|
||||
path: build
|
||||
path: build/bin
|
||||
|
||||
build-macos:
|
||||
name: Build macOS
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: macos-universal
|
||||
path: build
|
||||
path: build/bin
|
||||
|
||||
release:
|
||||
name: Release
|
||||
|
||||
+1
-1
@@ -16,4 +16,4 @@ RUN ./configure --target=powerpc-unknown-eabi --prefix=/target --disable-nls --d
|
||||
|
||||
# Export binary (usage: docker build --target export --output build .)
|
||||
FROM scratch AS export
|
||||
COPY --from=build /target/bin/* .
|
||||
COPY --from=build /target/* .
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ PREFIX="$(pwd)/build"
|
||||
wget -qO- https://ftp.gnu.org/gnu/binutils/binutils-2.41.tar.xz | tar -xJ
|
||||
cd binutils-2.41
|
||||
export CFLAGS="-arch arm64 -arch x86_64 -mmacosx-version-min=10.11"
|
||||
./configure --target=powerpc-unknown-eabi --prefix="$PREFIX" --disable-nls --without-zstd
|
||||
./configure --target=powerpc-unknown-eabi --prefix="$PREFIX" --disable-nls --disable-shared --without-zstd
|
||||
make -j$(nproc) configure-host
|
||||
make -j$(nproc)
|
||||
make install-strip
|
||||
|
||||
Reference in New Issue
Block a user