feature/clang-tidy #6
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 AMD64 | |
on: | |
push: | |
branches: [main, develop] | |
pull_request: | |
branches: [main, develop] | |
workflow_dispatch: | |
jobs: | |
linux-amd64: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential libfftw3-dev libcurl4-openssl-dev | |
- name: Configure CMake | |
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SUFFIX=linux-amd64 | |
- name: Build | |
run: cmake --build ${{ github.workspace }}/build --config Release | |
- name: Check build results | |
run: | | |
file build/cli/vibra* | |
file build/lib/libvibra* | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: vibra-linux-amd64 | |
path: | | |
build/cli/vibra* | |
build/lib/libvibra* |