Skip to content

Update ubuntu-20.04 to ubuntu-22.04 in CI #1745

Update ubuntu-20.04 to ubuntu-22.04 in CI

Update ubuntu-20.04 to ubuntu-22.04 in CI #1745

Workflow file for this run

name: Build and Test on Linux
on:
push:
branches: [ master ]
paths-ignore:
- '**.md'
pull_request:
branches: [ master ]
paths-ignore:
- '**.md'
env:
proc_num: $(nproc)
jobs:
clang-unittest:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/install-essential-dependences
- uses: ./.github/actions/init-ut-make-config
with:
options: --cc=clang-12 --cxx=clang++-12 --with-bthread-tracer
- name: compile tests
run: |
cat config.mk
cd test
make -j ${{env.proc_num}}
- name: run tests
run: |
cd test
sh ./run_tests.sh