Dmunipz dietrich 2024 jul 16 #20
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: CI Basic Build | |
on: | |
push: | |
branches: | |
- "master" | |
- "proposed_master" | |
- "fallout" | |
- "github-actions-development" | |
pull_request: | |
branches: | |
- "master" | |
- "proposed_master" | |
- "fallout" | |
- "github-actions-development" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install missing packages | |
run: sudo apt-get -y install automake libreadline-dev build-essential libboost-all-dev docbook-utils pkg-config libsigc++-2.0-dev --fix-missing | |
- name: Set PKG_CONFIG_PATH | |
run: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig | |
- name: Create symlinks | |
run: sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/libmpfr.so.4 | |
- name: Setup repository | |
run: make | |
- name: Build etherbone | |
run: make etherbone | |
- name: Install etherbone | |
run: sudo make etherbone-install | |
- name: Build tools | |
run: make tools | |
- name: Install tools | |
run: make tools-install | |
- name: Build simple-display | |
run: make simple-display | |
- name: Install simple-display | |
run: make simple-display-install | |
- name: Build saftlib | |
run: make saftlib -j$(nproc) | |
- name: Install saftlib | |
run: sudo make saftlib-install | |
- name: Build phtif | |
run: make phtif |