Skip to content

Commit

Permalink
Build file provider module in CI runs
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Jul 19, 2024
1 parent 76edaff commit adf2b61
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/macos-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit adf2b61

Please sign in to comment.