Update version to 3.6.0 (#305) #92
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: Igel Linux Unit Tests with CMake | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
workflow_dispatch: # Allow manual triggering of the workflow | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Install GCC versions | |
run: | | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | |
sudo apt-get update | |
sudo apt-get install -y gcc-12 g++-12 gcc-13 g++-13 | |
- name: Set GCC version | |
run: | | |
# Set GCC 14 as the default version | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 60 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 60 | |
- name: Install CMake | |
run: sudo apt-get install -y cmake | |
- name: Download network file | |
run: wget https://github.com/vshcherbyna/igel/releases/download/3.5.0/c049c117 -O ./network_file | |
- name: Configure CMake for the UTs | |
run: cmake -DEVALFILE=network_file -D_MAKE_UNIT_TEST=UNIT_TEST -D_BTYPE=1 -DUSE_AVX2=1 . | |
- name: Build the UTs | |
run: make -j | |
- name: Run the UTs | |
run: ./unit |