-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (32 loc) · 899 Bytes
/
x86-linux.yml
File metadata and controls
42 lines (32 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: x86-linux
on:
workflow_dispatch:
push:
branches: [ "master", "dev" ]
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install packages
shell: bash
run: |
sudo apt-get update
sudo apt-get install ninja-build --yes
- name: Configure CMake
working-directory: ./examples
run: cmake . -B build --preset gcc -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
working-directory: ./examples
run: cmake --build build --config ${{env.BUILD_TYPE}}
- name: Run simple example
working-directory: ./examples
run: ./build/run_simple
- name: Run punctured decoder example
working-directory: ./examples
run: ./build/run_punctured_decoder
- name: Run tests
working-directory: ./examples
run: ./build/run_tests