Skip to content

Merge pull request #48 from tand00/main #210

Merge pull request #48 from tand00/main

Merge pull request #48 from tand00/main #210

Workflow file for this run

name: Build Linux
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
concurrency:
group: build-Linux-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: ubuntu install depends
run: |
sudo apt-get update
sudo apt-get install -f flex bison
- name: Prebuild
run: |
mkdir build && cd build
CC=gcc-11 CXX=g++-11 cmake ../ -DCMAKE_BUILD_TYPE=Prebuild
make
- name: Build
run: |
cd build
CC=gcc-11 CXX=g++-11 cmake ../ -DCMAKE_BUILD_TYPE=Release
make
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: verifydtapn-linux64
path: '${{github.workspace}}/build/verifydtapn/bin/verifydtapn-linux64'