Skip to content

x86-Ubuntu

x86-Ubuntu #75

Workflow file for this run

name: x86-Ubuntu
on:
push:
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
compiler:
- { compiler: GNU, CC: gcc-10, CXX: g++-10 }
- { compiler: LLVM, CC: clang-10, CXX: clang++-10 }
type: [Debug, Release]
steps:
- uses: actions/checkout@v4
- name: Clone GTest
run: git clone https://github.com/google/googletest.git
- name: Build and run
env:
CC: ${{ matrix.compiler.CC }}
CXX: ${{ matrix.compiler.CXX }}
run: |
cd $GITHUB_WORKSPACE
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} ../
make -j8
./cppTutorUT