Skip to content

Commit

Permalink
Add source tarball CI target
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Apr 24, 2023
1 parent a9660d7 commit dcfc129
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
run: |
sudo apt-get update -qq
sudo apt-get install -yqq brotli
mkdir bin
[ -d ~/emsdk ] || git clone https://github.com/emscripten-core/emsdk.git ~/emsdk
cd ~/emsdk && ./emsdk install ${{ env.EMSCRIPTEN_VERSION }} && ./emsdk activate ${{ env.EMSCRIPTEN_VERSION }}
- name: Build simd-optimized
Expand All @@ -107,7 +108,9 @@ jobs:
source ~/emsdk/emsdk_env.sh
make -C src/standalone features
make -C src/standalone NOOPT=true MOD_BUILD=${{ matrix.target == 'mod' }} -j $(nproc)
mv build/bin bin
mv build/bin/*.* bin/
- name: Cleanup
run: |
rm -rf build modules/dpf/build
- name: Build non-optimized
env:
Expand Down Expand Up @@ -147,3 +150,14 @@ jobs:
with:
dpf_path: ./modules/dpf
target: pluginval

source:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: distrho/dpf-cmake-action@v1
with:
dpf_path: ./modules/dpf
target: source

0 comments on commit dcfc129

Please sign in to comment.