Skip to content

Commit

Permalink
Linux and Mac Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
asra-naseem authored Sep 13, 2023
1 parent 2b1704d commit 45bde4e
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: C/C++ CI

on:
push
push:

jobs:
example_matrix:
Expand Down Expand Up @@ -34,20 +34,20 @@ jobs:
- name: Configure build
run: |
mkdir -p build
cd build
rm -rf *
pwd
export CC=${{ steps.install_cc.outputs.cc }}
export CXX=${{ steps.install_cc.outputs.cxx }}
echo ${CC}
echo ${CXX}
if [[ "${{ matrix.os }}" == "ubuntu-22.04" ]]; then
sudo apt install libomp-dev
fi
cmake -DICM=ON -DCMAKE_INSTALL_PREFIX=$HOME/my-project-installation ..
make -j 4
make install
mkdir -p build
cd build
rm -rf *
pwd
export CC=${{ steps.install_cc.outputs.cc }}
export CXX=${{ steps.install_cc.outputs.cxx }}
echo ${CC}
echo ${CXX}
if [[ "${{ matrix.os }}" == "ubuntu-22.04" ]]; then
sudo apt install libomp-dev
fi
cmake -DICM=ON -DCMAKE_INSTALL_PREFIX=$HOME/my-project-installation ..
make -j 4
make install
- name: Start Execute Script
run: python start_execution.py

0 comments on commit 45bde4e

Please sign in to comment.