Added function for calculating number of MOSFETS. #89
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
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up CMake | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y cmake | |
shell: bash | |
- name: Configure and build AlphaLogosTests | |
run: | | |
mkdir build | |
cd build | |
cmake .. -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=.. -DBUILD_ONLY_TESTS=ON | |
make AlphaLogosTests | |
working-directory: ${{ github.workspace }} | |
- name: Run AlphaLogosTests | |
run: | | |
cd build | |
./AlphaLogosTests | |
working-directory: ${{ github.workspace }} |