Skip to content

Commit

Permalink
ci(esteem): remove minimal profile from building
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Jul 12, 2022
1 parent 560a5b4 commit 3ce07f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/esteem-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Adapted from: https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/release.yml

name: Release
name: Release esteem
on:
push:
tags:
Expand Down Expand Up @@ -72,10 +72,6 @@ jobs:
os: windows-2019
rust: nightly
target: x86_64-pc-windows-msvc
- build: win-gnu
os: windows-2019
rust: nightly-x86_64-gnu
target: x86_64-pc-windows-gnu
- build: win32-msvc
os: windows-2019
rust: nightly
Expand All @@ -95,7 +91,6 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
target: ${{ matrix.target }}

Expand Down
7 changes: 4 additions & 3 deletions packages/esteem/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ NO_COLOR="$(tput sgr0 2>/dev/null || printf '')"

APP_NAME="esteem"
APP_AUTHOR="IgnisDa"
PROJECT_NAME="developrs"

SUPPORTED_TARGETS="x86_64-unknown-linux-gnu x86_64-unknown-linux-musl \
i686-unknown-linux-musl aarch64-unknown-linux-musl \
Expand Down Expand Up @@ -271,7 +272,7 @@ detect_target() {

detect_version() {
# I came up of with *most* of this myself, and I am damn proud of it
curl -s https://github.com/${APP_AUTHOR}/developrs/releases |
curl -s https://github.com/${APP_AUTHOR}/${PROJECT_NAME}/releases |
grep -m1 -Eo "archive/refs/tags/${APP_NAME}-[^/]+\.tar\.gz" |
sed -e "s/^archive\/refs\/tags\///" -e "s/.tar.gz//"
}
Expand Down Expand Up @@ -342,7 +343,7 @@ is_build_available() {
printf "\n" >&2
info "If you would like to see a build for your configuration,"
info "please create an issue requesting a build for ${MAGENTA}${target}${NO_COLOR}:"
info "${BOLD}${UNDERLINE}https://github.com/${APP_AUTHOR}/developrs/issues/new/${NO_COLOR}"
info "${BOLD}${UNDERLINE}https://github.com/${APP_AUTHOR}/${PROJECT_NAME}/issues/new/${NO_COLOR}"
printf "\n"
exit 1
fi
Expand All @@ -369,7 +370,7 @@ if [ -z "${ARCH-}" ]; then
fi

if [ -z "${BASE_URL-}" ]; then
BASE_URL="https://github.com/${APP_AUTHOR}/developrs/releases"
BASE_URL="https://github.com/${APP_AUTHOR}/${PROJECT_NAME}/releases"
fi

# parse argv variables
Expand Down

0 comments on commit 3ce07f1

Please sign in to comment.