Skip to content

Commit

Permalink
Create create_linux_binary.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danifranco authored Nov 13, 2024
1 parent 54d66de commit 4c35cba
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/create_linux_binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Checks BiaPy code consistency

name: Code consistency

# Once a week (on Sunday)
on:
workflow_dispatch:
release:
types: [published]

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip" # caching pip dependencies

- name: Installing BiaPy-GUI dependencies
run: pip install -r requirements.txt

- name: Creating Linux binary
run: |
cp dist-linux/main.spec main.spec
pyinstaller main.spec
- name: Upload public folder to Google Drive
uses: Jodebu/upload-to-drive@master
with:
credentials: ${{ secrets.DRIVE_CREDENTIALS }}
target: dist/BiaPy
folderId: ${{ secrets.linux_GUI_binary_folder }}

0 comments on commit 4c35cba

Please sign in to comment.