Skip to content

Fix appstate upgrade and add logs. #529

Fix appstate upgrade and add logs.

Fix appstate upgrade and add logs. #529

Workflow file for this run

name: Linux kDrive desktop CI on x64 Arch
on:
pull_request:
types: [synchronize, review_requested]
concurrency:
group: linux-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build-kDrive:
runs-on: [ self-hosted, Linux, X64, desktop-kdrive ]
env:
bin-directory: ./build-linux/build/bin
steps:
- name: Checkout the PR
uses: actions/checkout@v4.1.1
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
run : ./infomaniak-build-tools/linux/build-ci-amd64.sh
- name: Execute common tests
run : ./kDrive_test_common
working-directory: ${{env.bin-directory}}
- name: Execute parms tests
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