some fixes and denoising #495
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow name | |
name: Build Xmipp | |
# Specify when the Action should be triggered: when a pull request is opened against the 'devel' or 'master' branch | |
on: | |
pull_request: | |
branches: [devel, master] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-22.04 | |
env: | |
SEND_INSTALLATION_STATISTICS: "False" | |
steps: | |
# Installing apt dependencies | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libfftw3-dev libopenmpi-dev libhdf5-dev libtiff5-dev python3-numpy python3-dev libsqlite3-dev default-jdk git cmake libopencv-dev openmpi-bin | |
# Setting up Python | |
- uses: actions/setup-python@main | |
with: | |
python-version: '3.9.15' # Version range or exact version of a Python version to use, using SemVer's version range syntax | |
# Installing Python dependencies | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install scons numpy | |
# Installing CUDA | |
- uses: Jimver/cuda-toolkit@master | |
id: cuda-toolkit | |
with: | |
cuda: '11.8.0' | |
method: network | |
sub-packages: '["nvcc", "toolkit"]' | |
# Using CCache to speed C/C++ compilation | |
- uses: hendrikmuhs/ccache-action@main | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@main | |
with: | |
fetch-depth: 0 | |
# Compiling Xmipp in the Pull Request branch | |
- name: Compile Xmipp will all dependencies in branch ${{ github.head_ref }} (if such branch exists, default is devel) | |
env: | |
BRANCH_NAME: ${{ github.head_ref }} | |
CIBuild: 1 | |
BUILD_TESTS: True | |
run: ./xmipp all br=$BRANCH_NAME noAsk || (cat compileLOG.txt && false) |