Skip to content

Commit

Permalink
Merge pull request #14 from acoustic-warfare/Karlkorv-patch-1
Browse files Browse the repository at this point in the history
Update docker-image.yml
  • Loading branch information
Karlkorv authored Jul 2, 2024
2 parents 426be9e + 8f38a39 commit 124bdd9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
name: Docker Image CI
name: Docker Image CI and CMake Checks

on:
pull_request:
branches: [ "main" ]

jobs:

build:
build-image:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
- name: Run the docker image
run: docker run -v $(pwd):/usr/src/app -e DISPLAY=$DISPLAY -it --network=host -v /tmp/.X11-unix:/tmp/.X11-unix --user=$(id -u $USER) beamformer bash
- name: Build the beamformer using CMake
run: cmake -S . -B build && cmake --build build

0 comments on commit 124bdd9

Please sign in to comment.