Skip to content

Commit

Permalink
Update .github
Browse files Browse the repository at this point in the history
  • Loading branch information
arcz committed Jan 16, 2023
1 parent bd193d2 commit fe128da
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/build-macos-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ fix_path()
}


BUILD="$(mktemp -d)/echidna-test"
BUILD="$(mktemp -d)/echidna"
mkdir -p "$BUILD"
cp "$HOME/.local/bin/echidna-test" "$BUILD"
cp "$HOME/.local/bin/echidna" "$BUILD"

BINARY="$BUILD/echidna-test"
BINARY="$BUILD/echidna"
add_rpath "$BINARY"
fix_path "$BINARY" libsecp256k1 "@rpath/libsecp256k1.dylib"
fix_path "$BINARY" libff "@rpath/libff.dylib"
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/release-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TAG="$1"
OS="$(lsb_release -is)-$(lsb_release -rs)"
echo "Building binary..."
echo "Compressing binary.."
REPO="echidna-test"
REPO="echidna"
BIN="$(stack path --local-install-root)/bin/$REPO"
echo $BIN
BUNDLE_NAME="$REPO-$TAG-$OS.tar.gz"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
apt-get: autoconf automake libtool
- os: macos-latest
brew: automake

steps:
- name: Get Packages
uses: mstksg/get-package@v1
Expand Down Expand Up @@ -72,13 +72,13 @@ jobs:

- name: Compress binary (Linux)
if: runner.os == 'Linux'
run: GZIP=-9 tar -czf echidna-test.tar.gz -C $HOME/.local/bin/ echidna-test
run: GZIP=-9 tar -czf echidna.tar.gz -C $HOME/.local/bin/ echidna

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: echidna-test-${{ runner.os }}
path: echidna-test.tar.gz
name: echidna-${{ runner.os }}
path: echidna.tar.gz

- name: Build and copy test suite
if: runner.os == 'Linux'
Expand Down

0 comments on commit fe128da

Please sign in to comment.