Skip to content

Commit

Permalink
feat: Enabled all the builds again and changed the trigger to manuall…
Browse files Browse the repository at this point in the history
…y dispach

Signed-off-by: Tom Lanser <[email protected]>
  • Loading branch information
Tommylans committed Dec 21, 2022
1 parent 4501378 commit 7089355
Showing 1 changed file with 55 additions and 58 deletions.
113 changes: 55 additions & 58 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,66 +1,63 @@
name: Build and Provide artifacts

on:
# workflow_dispatch:
push:
branches:
- feature/TBX-60
workflow_dispatch:

jobs:
# build-linux:
# name: Build for Linux and Provide artifacts
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v2
#
# - name: Setup Libindy
# uses: ./.github/actions/setup-libindy
#
# - name: Install dependencies
# run: yarn install --frozen-lockfile
#
# - name: Build for Linux
# run: yarn --cwd packages/toolbox-electron make -p linux
#
# - name: Upload artifacts
# uses: actions/upload-artifact@v2
# with:
# name: toolbox-electron
# path: ./packages/toolbox-electron/out/make/**/*.*
#
# build-macos:
# name: Build for MacOS and Provide artifacts
# runs-on: macos-10.15
#
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v2
#
# - name: Setup Libindy
# run: |
# ln -s /usr/local/opt/openssl/lib/libssl.dylib /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
# ln -s /usr/local/opt/openssl/lib/libcrypto.dylib /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
#
# brew install libsodium
# ln -s /usr/local/opt/libsodium/lib/libsodium.23.dylib /usr/local/opt/libsodium/lib/libsodium.18.dylib
#
# brew install zeromq
#
# brew install blu3beri/libindy/libindy
#
# - name: Install dependencies
# run: yarn install --frozen-lockfile
#
# - name: Build for MacOS
# run: yarn --cwd packages/toolbox-electron make -p darwin
#
# - name: Upload artifacts
# uses: actions/upload-artifact@v2
# with:
# name: toolbox-electron
# path: ./packages/toolbox-electron/out/make/**/*.*
build-linux:
name: Build for Linux and Provide artifacts
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Libindy
uses: ./.github/actions/setup-libindy

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build for Linux
run: yarn --cwd packages/toolbox-electron make -p linux

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: toolbox-electron
path: ./packages/toolbox-electron/out/make/**/*.*

build-macos:
name: Build for MacOS and Provide artifacts
runs-on: macos-10.15

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Libindy
run: |
ln -s /usr/local/opt/openssl/lib/libssl.dylib /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
ln -s /usr/local/opt/openssl/lib/libcrypto.dylib /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
brew install libsodium
ln -s /usr/local/opt/libsodium/lib/libsodium.23.dylib /usr/local/opt/libsodium/lib/libsodium.18.dylib
brew install zeromq
brew install blu3beri/libindy/libindy
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build for MacOS
run: yarn --cwd packages/toolbox-electron make -p darwin

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: toolbox-electron
path: ./packages/toolbox-electron/out/make/**/*.*

build-windows:
name: Build for Windows and Provide artifacts
Expand Down

0 comments on commit 7089355

Please sign in to comment.