Skip to content

Ready for v0.6.6

Ready for v0.6.6 #38

Workflow file for this run

name: Automatic GUI build
on:
workflow_dispatch:
push:
tags:
- 'rel-*'
jobs:
build-windows:
name: Executable build for Windows
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Make temporary folder for UPX
run: |
mkdir .\UPX\
- name: Download UPX zip
run: |
Invoke-WebRequest -uri "https://github.com/upx/upx/releases/download/v3.96/upx-3.96-win64.zip" -outfile ".\UPX\upx-3.96-win64.zip"
- name: Unpack UPX
run: |
Add-Type -AssemblyName System.IO.Compression.FileSystem
function Unzip
{
param([string]$zipfile, [string]$outpath)
[System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath)
}
Unzip ".\UPX\upx-3.96-win64.zip" ".\UPX\upx-3.96\"
- name: Create conda environment
uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.9
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
activate-environment: picked_group_fdr_gui
- name: Install dependencies
shell: bash -el {0}
run: |
mamba install -c conda-forge nomkl
mamba install -c conda-forge libxml2=2.11.6 numpy scipy pandas networkx pyqt pyinstaller bottleneck toml threadpoolctl
mamba install -c bioconda mokapot triqler
- name: Build exe and compress with UPX
shell: bash -el {0}
run: |
mamba init powershell
ls
cd ./gui_tools
./build_gui.bat
cd ..
- name: Add built .exe to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: gui_tools/dist/*.zip
tag: ${{ github.ref }}
overwrite: false
file_glob: true