Skip to content

First stable Flexutils-Toolkit release #11

First stable Flexutils-Toolkit release

First stable Flexutils-Toolkit release #11

Workflow file for this run

# Name of the GitHub Action
name: Build Flexutils-Toolkit on Pull Request
# 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]
# Define the job that should be run
jobs:
build:
# Specify the machine to run the job on
runs-on: ubuntu-22.04
# Define the steps to be taken in the job
steps:
# Installing dependencies
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y xorg-dev libxcb-shm0 libglu1-mesa-dev python3-dev clang libc++-dev libc++abi-dev libsdl2-dev ninja-build libxi-dev libtbb-dev libosmesa6-dev libudev-dev autoconf libtool
# Installing CUDA
- name: Install CUDA
uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: '12.2.2'
method: network
sub-packages: '["nvcc", "toolkit"]'
# Installing Miniconda
- name: Install Miniconda
working-directory: ${{ github.workspace }}/../
run: |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh -b -p ${{ github.workspace }}/../miniconda/
source ./miniconda/etc/profile.d/conda.sh
conda update -n base -c defaults conda -y
# # Cloning Flexutils
# - name: Cloning Flexutils-Toolkit
# working-directory: ${{ github.workspace }}
# run: git clone https://github.com/I2PC/Flexutils-Toolkit.git:testRepo
# Checkout Flexutils-Toolkit to Pull Request branch if exists, by default stays in devel
- name: Conditionally checkout Flexutils-Toolkit to ${{ github.head_ref }}
uses: actions/checkout@v4
env:
BRANCH_NAME: ${{ github.head_ref }}
with:
ref: $BRANCH_NAME
# Installing Flexutils-Toolkit
- name: Install Flexutils and show log
working-directory: ${{ github.workspace }}
run: |
eval "$(${{ github.workspace }}/../miniconda/bin/conda shell.bash hook)"
conda activate
bash ./install.sh