Skip to content

Commit

Permalink
tst
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Jul 30, 2024
1 parent 690957b commit e6385bb
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,24 @@ jobs:
container:
image: ghcr.io/surge-synthesizer/sst-dockerimages/ubuntu18_gcc11:main
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Build pull request version
run: |
git clone ${{ github.server }}/${{ github.repository }}
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Debug
cmake --build ./build --config Debug --target monique-staged --parallel 3
export VUID=$(id -u)
export VGID=$(id -g)
docker pull ghcr.io/surge-synthesizer/sst-dockerimages/ubuntu18_gcc11:main
docker create --user $VUID:$VGID --name u18_build --interactive --tty \
--volume=`pwd`:/home/build/plugin ghcr.io/surge-synthesizer/sst-dockerimages/ubuntu18_gcc11:main
docker start u18_build
docker exec u18_build bash -c "(cd /home/build/plugin && \
cmake -S . -B ./build -DCMAKE_BUILD_TYPE=Debug && \
cmake --build ./build --config Debug --target monique-staged --parallel 3 )"
docker stop u18_build_bash
ls -al

0 comments on commit e6385bb

Please sign in to comment.