Skip to content
Snippets Groups Projects

loongarch64 gitlab-ci

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Matthias Dressel
    Edited
    ci.yaml 1.03 KiB
    build-debian-loongarch64:
        extends: .debian-amd64-common
        variables:
            QEMU_CPU: max-loongarch-cpu
            QEMU_LD_PREFIX: /opt/cross-tools/target/
        script:
            - meson setup build --buildtype release
                                -Dtrim_dsp=false
                                --werror
                                --cross-file package/crossfiles/loongarch64-linux.meson
            - ninja -C build
            - cd build && meson test -v
    
    test-debian-loongarch64:
        extends:
            - .debian-amd64-common
            - .test-common
        needs: ["build-debian-loongarch64"]
        variables:
            QEMU_CPU: max-loongarch-cpu
            QEMU_LD_PREFIX: /opt/cross-tools/target/
        script:
            - meson setup build --buildtype release
                                -Dtestdata_tests=true
                                -Dlogging=false
                                -Dtrim_dsp=false
                                --cross-file package/crossfiles/loongarch64-linux.meson
            - ninja -C build
            - cd build && time meson test -v --timeout-multiplier 2
    
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment