Skip to content

Commit

Permalink
Try a docker build
Browse files Browse the repository at this point in the history
Lets see if this works
  • Loading branch information
baconpaul committed Jan 20, 2025
1 parent 389462a commit b06cc63
Showing 1 changed file with 36 additions and 4 deletions.
40 changes: 36 additions & 4 deletions .github/workflows/build-daw-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ jobs:
with:
submodules: recursive

- name: Select Xcode Version
if: runner.os == 'macOS'
run: sudo xcode-select -switch /Applications/Xcode_15.1.app

- name: Prepare for JUCE
uses: surge-synthesizer/sst-githubactions/prepare-for-juce@main
with:
os: ${{ runner.os }}
d .g
- uses: apple-actions/import-codesign-certs@v3
if: runner.os == 'macOS' && github.event_name != 'pull_request'
with:
Expand Down Expand Up @@ -122,6 +123,37 @@ jobs:
path: build/installer
name: dawplugin-${{ matrix.name }}


build_plugin_docker:
name: Docker Build Ubuntu20 ${{ matrix.name }}
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive

- name: Build in Docker
uses: surge-synthesizer/sst-githubactions/cmake-in-docker@main
with:
image: ghcr.io/surge-synthesizer/sst-dockerimages/ubuntu20_gcc11:main
username: ${{ github.actor }}
token: ${{ secrets.GITHUB_TOKEN }}
cmakeArgs: -DCMAKE_BUILD_TYPE=Release -GNinja
target: awcons-installer


- name: Show Installer Directory
run: |
ls -l ./build/installer
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: build/installer
name: build-docker-${{matrix.installer_dir }}

publish-dawplugin-nightly:
name: Publish DAWPlugin
# only create a release if a tag was created that is called e.g. v1.2.3
Expand Down

0 comments on commit b06cc63

Please sign in to comment.