Skip to content

Commit

Permalink
Merge branch 'develop' into KDESKTOP-819-Windows-set_get-Rights-tests…
Browse files Browse the repository at this point in the history
…-some-times-fails
  • Loading branch information
herve-er authored May 2, 2024
2 parents 041fd52 + 88fb8d2 commit 814fa5d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
submodules: recursive

- name: Clean the log directory
run : rm -rf /tmp/kDrive-logdir/*

- name: Grant building script execute permission
run : chmod +x ./infomaniak-build-tools/linux/build-ci-amd64.sh
- name: Build kDrive desktop
Expand All @@ -33,5 +36,14 @@ jobs:
run : ./kDrive_test_parms
working-directory: ${{env.bin-directory}}

- name: Upload tests logs artifacts
uses: actions/upload-artifact@v4
with:
name: linux-tests-logs
path: /tmp/kDrive-logdir/*
retention-days: 3
overwrite: true
if: always()

- name: Clean-up generated code
run : rm -rf build-linux
15 changes: 15 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
with:
submodules: recursive

- name: Get the path to kDrive-logdir
run : echo "logdir_path="$(find /private/var/folders/ -name kDrive-logdir 2>/dev/null)"" >> $GITHUB_ENV

- name: Clean the log directory
run : rm -rf ${{ env.logdir_path }}/*

- name: Unlock keychain to use the certificate
run : security unlock-keychain -p '${{ secrets.KEYCHAIN_PASSWORD }}' login.keychain

Expand All @@ -36,5 +42,14 @@ jobs:
run : ./kDrive_test_parms
working-directory: ${{env.bin-directory}}

- name: Upload tests logs artifacts
uses: actions/upload-artifact@v4
with:
name: macos-tests-logs
path: ${{ env.logdir_path }}/*
retention-days: 3
overwrite: true
if: always()

- name: Clean-up generated code
run : rm -rf build-macos
12 changes: 12 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
with:
submodules: recursive

- name: Clean the log directory
run : rm -r -force C:/Windows/Temp/kDrive-logdir/*

- name: Restore extension packages
run : nuget restore extensions/windows/cfapi/kDriveExt.sln

Expand Down Expand Up @@ -48,5 +51,14 @@ jobs:
run: ./kDrive_test_parms.exe
working-directory: ${{env.bin-directory}}

- name: Upload tests logs artifacts
uses: actions/upload-artifact@v4
with:
name: windows-tests-logs
path: C:/Windows/Temp/kDrive-logdir/*
retention-days: 3
overwrite: true
if: always()

- name: Clean-up generated code
run : powershell ./infomaniak-build-tools/windows/build-drive.ps1 -clean all

0 comments on commit 814fa5d

Please sign in to comment.