Initial commit #1
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: Linux Build | |
on: | |
push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build | |
- name: Check that AbstractPlugin::preface is defined in the executable | |
run: nm -g ${{github.workspace}}/build/dynamic_lookup | grep AbstractPlugin.preface | grep T | |
- name: Check that AbstractPlugin::preface is undefined in the module | |
run: nm -g ${{github.workspace}}/build/libModulePlugin.so | grep AbstractPlugin.preface | grep U | |
- name: Run the executable | |
run: cd ${{github.workspace}}/build && ./dynamic_lookup |