Skip to content
Draft
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
20 changes: 19 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
sudo apt-get update && sudo apt-get install \
ninja-build \
libjack-jackd2-dev
- name: ccache
uses: hendrikmuhs/[email protected]
- name: Install abseil
if: ${{ github.ref_type == 'branch' }}
run: |
Expand All @@ -68,6 +70,8 @@ jobs:
-B build
-S .
-D CMAKE_BUILD_TYPE=${{ env.build_type }}
-D CMAKE_C_COMPILER_LAUNCHER=ccache
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-D SFIZZ_JACK=ON
-D SFIZZ_RENDER=ON
-D SFIZZ_SHARED=ON
Expand Down Expand Up @@ -142,12 +146,16 @@ jobs:
- name: Install dependencies
if: ${{ github.ref_type == 'branch' }}
run: brew install abseil
- name: ccache
uses: hendrikmuhs/[email protected]
- name: Configure CMake
run: |
options=(
-B build
-S .
-D CMAKE_BUILD_TYPE=${{ env.build_type }}
-D CMAKE_C_COMPILER_LAUNCHER=ccache
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-D SFIZZ_SHARED=ON
-D SFIZZ_TESTS=ON
)
Expand Down Expand Up @@ -228,14 +236,24 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: |
choco install ninja
ninja --version
- name: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.job }}-${{ matrix.platform }}
- name: Configure CMake
run: |
cmake `
-G "Visual Studio 16 2019" `
-G Ninja `
-A "${{ matrix.release_arch }}" `
-B build `
-S . `
-D CMAKE_BUILD_TYPE=${{ env.build_type }} `
-D CMAKE_C_COMPILER_LAUNCHER=sccache `
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache `
-D SFIZZ_TESTS=ON
echo "-- runner.workspace: ${{ runner.workspace }}"
echo "-- github.workspace: ${{ github.workspace }}"
Expand Down