-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:3dem/relion into ver3.1
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
on: [ pull_request ] | ||
|
||
name: Build RELION | ||
|
||
jobs: | ||
build_on_x86_64: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
altcpu: [ON, OFF] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update -q -y && \ | ||
sudo apt-get install -q -y cmake git build-essential mpi-default-bin mpi-default-dev libfftw3-dev libtiff-dev libfltk1.3-dev | ||
- name: Build RELION for Linux x86_64 | ||
run: mkdir build && cd build && cmake -DALTCPU=${{ matrix.altcpu }} .. && make | ||
|
||
build_on_aarch64: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
altcpu: [ON, OFF] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build RELION for Linux aarch64 | ||
uses: uraimo/run-on-arch-action@v2 | ||
with: | ||
arch: aarch64 | ||
distro: ubuntu20.04 | ||
githubToken: ${{ github.token }} | ||
dockerRunArgs: | | ||
--volume "${PWD}:/relion" | ||
install: | | ||
apt-get update -q -y | ||
apt-get install -q -y cmake git build-essential mpi-default-bin mpi-default-dev libfftw3-dev libtiff-dev libfltk1.3-dev | ||
run: | | ||
cd /relion | ||
mkdir build | ||
cd build | ||
cmake -DALTCPU=${{ matrix.altcpu }} .. | ||
make |