ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

build.yml (1315B)


      1 name: build
      2 
      3 on: [push, pull_request]
      4 
      5 jobs:
      6   linux:
      7     strategy:
      8       fail-fast: false
      9       matrix:
     10         os: [ubuntu-latest, ubuntu-24.04-arm]
     11         cc: ["gcc", "clang"]
     12     runs-on: ${{matrix.os}}
     13     steps:
     14       - uses: actions/checkout@v4
     15         with:
     16           submodules: 'true'
     17       - name: Install dependencies
     18         run: |
     19           sudo apt update
     20           sudo apt install libxkbcommon-dev xorg-dev
     21       - name: Build
     22         run: |
     23           ${{matrix.cc}} -march=native -O3 build.c -Iexternal/include -o build && \
     24           ./build --tests && \
     25           ./build --debug
     26 
     27   windows:
     28     runs-on: windows-latest
     29     strategy:
     30       fail-fast: false
     31       matrix:
     32         include:
     33           - { sys: ucrt64,  env: ucrt-x86_64,  cc: "gcc" }
     34           - { sys: clang64, env: clang-x86_64, cc: "clang" }
     35     defaults:
     36       run:
     37         shell: msys2 {0}
     38     steps:
     39       - uses: actions/checkout@v4
     40         with:
     41           submodules: 'true'
     42       - uses: msys2/setup-msys2@v2
     43         with:
     44           msystem: ${{matrix.sys}}
     45           update: true
     46           install: git mingw-w64-${{matrix.env}}-${{matrix.cc}}
     47 
     48       - name: Build
     49         run: |
     50           ${{matrix.cc}} -march=native -O3 build.c -Iexternal/include -o build && \
     51           ./build --tests && \
     52           ./build --debug