Skip to content

Commit

Permalink
Actually working executables for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
aivve committed Mar 25, 2020
1 parent 89dcd73 commit a3ee493
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Expand Up @@ -139,7 +139,6 @@ jobs:
- name: Build
id: build
run: |
BOOST_ROOT=
sudo apt update -y
sudo apt install -y qt5-default qttools5-dev qttools5-dev-tools libboost-all-dev
build_folder="build/release"
Expand All @@ -150,7 +149,7 @@ jobs:
git clone https://github.com/seredat/karbowanec.git cryptonote
mkdir -p "$build_folder"
cd "$build_folder"
cmake ../..
cmake -D ARCH=default -D CMAKE_BUILD_TYPE=Release -D CMAKE_POSITION_INDEPENDENT_CODE:BOOL=true -D BOOST_IGNORE_SYSTEM_PATHS_DEFAULT=ON -D BOOST_ROOT=/usr ../..
make
tar -czf "$release_name".tar.gz "$app_name"
sha256=$(shasum -a 256 "$release_name".tar.gz | awk '{print toupper($1)}')
Expand Down Expand Up @@ -179,9 +178,9 @@ jobs:
- name: Build
id: build
run: |
BOOST_ROOT=
sudo apt-get purge '*boost*'
sudo apt update -y
sudo apt install -y qt5-default qttools5-dev qttools5-dev-tools libboost-all-dev
sudo apt install -y qt5-default qttools5-dev qttools5-dev-tools libboost1.62-all-dev
build_folder="build/release"
krb_ver=$(echo "$GITHUB_REF" | sed 's|refs/tags/||')
release_name=KarboLite-ubuntu-18.04-"$krb_ver"
Expand All @@ -190,7 +189,7 @@ jobs:
git clone https://github.com/seredat/karbowanec.git cryptonote
mkdir -p "$build_folder"
cd "$build_folder"
cmake ../..
cmake -D ARCH=default -D CMAKE_BUILD_TYPE=Release -D CMAKE_POSITION_INDEPENDENT_CODE:BOOL=true -D BOOST_IGNORE_SYSTEM_PATHS_DEFAULT=ON -D BOOST_ROOT=/usr ../..
make
tar -czf "$release_name".tar.gz "$app_name"
sha256=$(shasum -a 256 "$release_name".tar.gz | awk '{print toupper($1)}')
Expand Down

0 comments on commit a3ee493

Please sign in to comment.