Skip to content

Update build-ubuntu.yml #7

Update build-ubuntu.yml

Update build-ubuntu.yml #7

Workflow file for this run

name: build-ubuntu
# build on pushs and pull requests on main branch
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [x64] #architecture: [x86, x64]
build-platform: [x64] #build-platform: [x86, x64]
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
- name: Installing Latest GCC Compiler
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install gcc-13 g++-13
- name: Generate makefiles
run: |
mkdir cmake-build-debug && cd cmake-build-debug
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON
- name: Make tests
run: make tests/all -j$(nproc)
- name: Export TESTS_BOT_TOKEN to env
run: export TESTS_BOT_TOKEN=${{ secrets.TESTS_BOT_TOKEN }}
- name: Run CTest flow
run: make test