From 014df525164759c92dbae0e84c685abf141119b0 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 10 Jul 2024 15:30:06 +0800 Subject: [PATCH] Build file provider module in CI runs Signed-off-by: Claudio Cambra --- .github/workflows/macos-build-and-test.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos-build-and-test.yml b/.github/workflows/macos-build-and-test.yml index 1e2eb298dd08d..9610fc4cbadd0 100644 --- a/.github/workflows/macos-build-and-test.yml +++ b/.github/workflows/macos-build-and-test.yml @@ -6,10 +6,17 @@ jobs: build: name: macOS Build and Test runs-on: macos-14 + strategy: + matrix: + craft_options: [ + '--options nextcloud-client.buildFileProviderModule=False', + '--options nextcloud-client.buildFileProviderModule=True' + ] env: CRAFT_TARGET: macos-clang-arm64 CRAFT_MASTER_LOCATION: ${{ github.workspace }}/CraftMaster CRAFT_MASTER_CONFIG: ${{ github.workspace }}/craftmaster.ini + CRAFT_BLUEPRINT_OPTIONS: ${{ matrix.craft_options }} steps: - uses: actions/checkout@v4 with: @@ -54,7 +61,7 @@ jobs: - name: Build client run: | - python "${{ env.CRAFT_MASTER_LOCATION }}/CraftMaster.py" --config "${{ env.CRAFT_MASTER_CONFIG }}" --target ${{ env.CRAFT_TARGET }} -c --src-dir ${{ github.workspace }} nextcloud-client + python "${{ env.CRAFT_MASTER_LOCATION }}/CraftMaster.py" --config "${{ env.CRAFT_MASTER_CONFIG }}" --target ${{ env.CRAFT_TARGET }} -c --src-dir ${{ github.workspace }} ${{ env.CRAFT_BLUEPRINT_OPTIONS }} nextcloud-client - name: Run tests run: |