Update serialize/deserialize code #28
Workflow file for this run
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: Build libnetwrk for Linux | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
architecture: [x86, x64] | |
build_type: [Release] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Update apt | |
run: sudo apt-get update | |
- name: Install gcc/g++ packages | |
run: sudo apt-get install -y gcc-multilib g++-multilib | |
- name: Setup Ninja | |
uses: ashutoshvarma/setup-ninja@master | |
with: | |
version: 1.10.0 | |
- name: Build | |
uses: ashutoshvarma/action-cmake-build@master | |
with: | |
build-dir: ${{ runner.workspace }}/build | |
configure-options: -G Ninja -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DLIBNETWRK_LINUX_ARCHITECTURE:STRING=${{ matrix.architecture }} | |
build-type: ${{ matrix.build_type }} | |
- name: Test | |
working-directory: ${{ runner.workspace }}/build | |
run: ctest --timeout 30 -j 4 -C ${{ matrix.build-type }} |