|
60 | 60 | name: ${{ env.ARCHIVE_NAME }}
|
61 | 61 | path: ${{ env.ARCHIVE_NAME }}
|
62 | 62 |
|
63 |
| - # This is still based on the now removed `build-bionic`, but for a 32-bit only |
64 |
| - # version of yabridge. We don't plan on distributing this, but we'll just have |
65 |
| - # this available for AV Linux. We currently don't do 32-bit builds of |
66 |
| - # yabridgectl though, but as long as this keeps building there's no harm in |
67 |
| - # keeping this around. |
68 |
| - build-32-bit: |
69 |
| - name: Build on Ubuntu 18.04 (32-bit build) |
70 |
| - runs-on: ubuntu-latest |
71 |
| - container: robbert/docker-yabridge:bionic |
72 |
| - outputs: |
73 |
| - artifact-name: ${{ env.ARCHIVE_NAME }} |
74 |
| - steps: |
75 |
| - - uses: actions/checkout@v3 |
76 |
| - # Needed for git-describe to do anything useful, the safe directory |
77 |
| - # workaround is needed for https://github.com/actions/runner/issues/2033 |
78 |
| - - name: Fetch all git history |
79 |
| - run: | |
80 |
| - git config --global --add safe.directory /__w/yabridge/yabridge |
81 |
| - git fetch --force --prune --tags --unshallow |
82 |
| - - name: Determine build archive name |
83 |
| - run: | |
84 |
| - echo "ARCHIVE_NAME=yabridge-$(git describe --always)-ubuntu-18.04-32bit.tar.gz" >> "$GITHUB_ENV" |
85 |
| - - name: Build the binaries |
86 |
| - run: | |
87 |
| - mkdir -p /tmp/prefix |
88 |
| - export WINEPREFIX=/tmp/prefix |
89 |
| -
|
90 |
| - # Statically link to libstdc++ on Ubuntu 18.04, and also target a |
91 |
| - # 32-bit OS. CLAP support is disabled here because it won't work with |
92 |
| - # 64-bit plugins. |
93 |
| - meson setup build --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=10000 -Dbitbridge=true -Dclap=false -Dcpp_link_args='-mwindows -static-libstdc++' -Dbuild.cpp_args='-m32' -Dbuild.cpp_link_args='-m32 -static-libstdc++' |
94 |
| - ninja -C build |
95 |
| - - name: Strip remaining debug symbols |
96 |
| - run: strip build/libyabridge{,-chainloader}-{vst2,vst3}.so build/yabridge-host{,-32}.exe.so |
97 |
| - - name: Create an archive for the binaries |
98 |
| - run: | |
99 |
| - mkdir yabridge |
100 |
| - cp build/libyabridge{,-chainloader}-{vst2,vst3}.so build/yabridge-host{,-32}.exe{,.so} yabridge |
101 |
| - cp CHANGELOG.md README.md yabridge |
102 |
| -
|
103 |
| - tar -caf "$ARCHIVE_NAME" yabridge |
104 |
| - rm -rf yabridge |
105 |
| - - uses: actions/upload-artifact@v3 |
106 |
| - with: |
107 |
| - name: ${{ env.ARCHIVE_NAME }} |
108 |
| - path: ${{ env.ARCHIVE_NAME }} |
109 |
| - |
110 | 63 | build-yabridgectl:
|
111 | 64 | name: Build yabridgectl
|
112 | 65 | runs-on: ubuntu-latest
|
|
0 commit comments