Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-22.04
Expand Down Expand Up @@ -46,11 +47,15 @@ jobs:
xcode: Xcode_11.7
runs-on: ${{ matrix.os }}
env: ${{ matrix.env || fromJSON('{}') }}
defaults:
run:
working-directory: 'test path with spaces'
steps:
- name: Clone Git repo
uses: actions/checkout@v3
with:
submodules: true
path: 'test path with spaces'
- name: Select Xcode
if: matrix.xcode
run: |
Expand Down Expand Up @@ -115,17 +120,19 @@ jobs:
- name: Build some Linux dependencies from source
if: startsWith(matrix.os, 'ubuntu')
run: |
pwd
ci/build-deps-ubuntu.sh
- name: Build some macOS dependencies from source
if: startsWith(matrix.os, 'macos')
run: |
pwd
ci/build-deps-macos.sh
- name: upload VRPN logs
if: failure() && startsWith(matrix.os, 'ubuntu')
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }} ${{ matrix.xcode }}${{ env.CXX }} VRPN logs
path: "vrpn/build/CMakeFiles/*.log"
path: 'test path with spaces/vrpn/build/CMakeFiles/*.log'
- name: Download and unzip InterSense SDK
run: |
wget https://www.intersense.com/wp-content/uploads/2018/12/InterSense_SDK_4.2381.zip
Expand All @@ -152,7 +159,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }} ${{ matrix.xcode }}${{ env.CXX }} configure log
path: config.log
path: 'test path with spaces/config.log'
- run: |
make
- run: |
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/pd-externals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
path: ssr
path: 'test path with spaces/ssr'
- name: Build dependencies
working-directory: ssr/ci
working-directory: 'test path with spaces/ssr/ci'
run: |
sudo chown -R $(whoami):admin /usr/local
./build-small-libsndfile.sh
./build-small-libxml2.sh
sudo ldconfig
- name: build externals
working-directory: ssr/flext
working-directory: 'test path with spaces/ssr/flext'
run: |
make install DESTDIR=build PDLIBDIR=
- name: Fix pd_linux dependencies
working-directory: ssr/flext
working-directory: 'test path with spaces/ssr/flext'
run: |
sh pd-lib-builder-iem-ci/pd-lib-builder/localdeps.linux.sh build/ssr_*.pd_linux
- name: upload Linux externals
uses: actions/upload-artifact@v3
with:
name: linux-externals
path: ssr/flext/build/*
path: 'test path with spaces/ssr/flext/build/*'

macos:
runs-on: macos-latest
Expand All @@ -59,35 +59,35 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
path: ssr
path: 'test path with spaces/ssr'
- name: Build dependencies
working-directory: ssr/ci
working-directory: 'test path with spaces/ssr/ci'
run: |
./build-small-libsndfile.sh
- name: checkout libmysofa
uses: actions/checkout@v3
with:
repository: hoene/libmysofa
path: libmysofa
path: 'test path with spaces/libmysofa'
- name: build libmysofa
working-directory: libmysofa/build
working-directory: 'test path with spaces/libmysofa/build'
run: |
cmake ..
make
make install
- name: build externals
working-directory: ssr/flext
working-directory: 'test path with spaces/ssr/flext'
run: |
make install DESTDIR=build PDLIBDIR=
- name: Fix pd_darwin dependencies
working-directory: ssr/flext
working-directory: 'test path with spaces/ssr/flext'
run: |
sh pd-lib-builder-iem-ci/pd-lib-builder/localdeps.macos.sh build/ssr_*.pd_darwin
- name: upload macOS externals
uses: actions/upload-artifact@v3
with:
name: macos-externals
path: ssr/flext/build/*
path: 'test path with spaces/ssr/flext/build/*'

windows:
runs-on: windows-latest
Expand Down Expand Up @@ -120,27 +120,27 @@ jobs:
uses: actions/checkout@v3
with:
submodules: true
path: ssr
path: 'test path with spaces/ssr'
- name: Build dependencies
working-directory: ssr/ci
working-directory: 'test path with spaces/ssr/ci'
run: |
# https://github.com/msys2/MINGW-packages/issues/5803
export LIBS=-lssp
./build-small-libsndfile.sh
./build-small-libxml2.sh
- name: build externals
working-directory: ssr/flext
working-directory: 'test path with spaces/ssr/flext'
run: |
make install DESTDIR=build PDLIBDIR=
- name: Fix dll dependencies
working-directory: ssr/flext
working-directory: 'test path with spaces/ssr/flext'
run: |
sh pd-lib-builder-iem-ci/pd-lib-builder/localdeps.win.sh build/ssr_*.dll
- name: upload Windows externals
uses: actions/upload-artifact@v3
with:
name: windows-externals
path: ssr/flext/build/*
path: 'test path with spaces/ssr/flext/build/*'

deken-package:
# Deken is not available on 22.04,
Expand Down