Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Update bore_builder.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Azathothas authored Jul 27, 2023
1 parent 88c4ade commit cd45a66
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions .github/workflows/bore_builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ jobs:
export TARGET="aarch64-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_aarch64_arm64_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -114,6 +116,8 @@ jobs:
export TARGET="aarch64-unknown-linux-musl"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_aarch64_arm64_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -130,6 +134,8 @@ jobs:
export TARGET="i686-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_amd_x86_i686_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -146,6 +152,8 @@ jobs:
export TARGET="x86_64-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_amd_x86_64_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -162,6 +170,8 @@ jobs:
export TARGET="i686-unknown-linux-musl"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_amd_x86_i686_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -178,6 +188,8 @@ jobs:
export TARGET="x86_64-unknown-linux-musl"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_amd_x86_64_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -194,6 +206,8 @@ jobs:
export TARGET="arm-unknown-linux-gnueabi"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_arm_abi_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -210,6 +224,8 @@ jobs:
export TARGET="arm-unknown-linux-musleabi"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_arm_abi_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -226,6 +242,8 @@ jobs:
export TARGET="arm-unknown-linux-gnueabihf"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_arm_abihf_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -242,6 +260,8 @@ jobs:
export TARGET="arm-unknown-linux-musleabihf"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_arm_abihf_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -258,6 +278,8 @@ jobs:
export TARGET="armv7-unknown-linux-gnueabi"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_armv7_abi_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -274,6 +296,8 @@ jobs:
export TARGET="armv7-unknown-linux-musleabi"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_armv7_abi_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -290,6 +314,8 @@ jobs:
export TARGET="armv7-unknown-linux-gnueabihf"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_armv7_abihf_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -306,6 +332,8 @@ jobs:
export TARGET="armv7-unknown-linux-musleabihf"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_armv7_abihf_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -322,6 +350,8 @@ jobs:
export TARGET="i586-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_i586_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -338,6 +368,8 @@ jobs:
export TARGET="i586-unknown-linux-musl"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_i586_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -354,6 +386,8 @@ jobs:
export TARGET="mips-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_mips_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -370,6 +404,8 @@ jobs:
export TARGET="mips-unknown-linux-musl"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_mips_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -386,6 +422,8 @@ jobs:
export TARGET="mips64-unknown-linux-gnuabi64"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_mips64_abi64_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -402,6 +440,8 @@ jobs:
export TARGET="mips64-unknown-linux-muslabi64"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_mips64_abi64_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -418,6 +458,8 @@ jobs:
export TARGET="mips64el-unknown-linux-muslabi64"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_mips64el_abi64_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -434,6 +476,8 @@ jobs:
export TARGET="mipsel-unknown-linux-musl"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_mipsel_musl_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -450,6 +494,8 @@ jobs:
export TARGET="mipsel-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_mipsel_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -466,6 +512,8 @@ jobs:
export TARGET="mips64el-unknown-linux-gnuabi64"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_mips64el_muslabi64_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -482,6 +530,8 @@ jobs:
export TARGET="powerpc-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_ppc_powerpc_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -498,6 +548,8 @@ jobs:
export TARGET="powerpc64-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_ppc64_powerpc64_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -514,6 +566,8 @@ jobs:
export TARGET="powerpc64le-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_ppc64le_powerpc64le_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -530,6 +584,8 @@ jobs:
export TARGET="riscv64gc-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_riscv64_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -546,6 +602,8 @@ jobs:
export TARGET="s390x-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_s390x_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand All @@ -562,6 +620,8 @@ jobs:
export TARGET="sparc64-unknown-linux-gnu"
cross build --target "$TARGET" --release
mv "./target/$TARGET/release/bore" "$GITHUB_WORKSPACE/main/bore/bore_sparc64_gcc_Linux"
#Del Docker Images
docker rmi -f $(docker images -q) >/dev/null 2>&1
# Remove tmp files
#rm -rf /tmp >/dev/null 2>&1
continue-on-error: true
Expand Down Expand Up @@ -593,6 +653,14 @@ jobs:
find . -type f -name 'bore*' -exec strip {} \; >/dev/null 2>&1
find . -type f -name 'bore.exe' -exec mv {} "$GITHUB_WORKSPACE/main/bore/bore_amd_x86_64_Windows.exe" \;
continue-on-error: true

#Cleanup
- name: Cleanup >> Strip >> chmod
#if: env.versions_same != 'true'
run: |
find "$GITHUB_WORKSPACE/main/bore/" -type f -name 'bore*' -exec strip {} \; >/dev/null 2>&1
find "$GITHUB_WORKSPACE/main/bore/" -type f -name 'bore*' -exec chmod +xwr {} \; >/dev/null 2>&1
continue-on-error: true

- name: Update README.md
#if: env.versions_same != 'true'
Expand Down

0 comments on commit cd45a66

Please sign in to comment.