dist: CI updates
This commit is contained in:
parent
1794847610
commit
47a7437c34
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2016-2020 the Tectonic Project
|
||||
# Copyright 2016-2023 the Tectonic Project
|
||||
# Licensed under the MIT License.
|
||||
#
|
||||
# Azure Pipelines template for a standard build-and-test job getting
|
||||
|
@ -32,9 +32,12 @@ steps:
|
|||
- bash: |
|
||||
set -xeuo pipefail
|
||||
|
||||
# libfuse2 here is to support the AppImage build associated with
|
||||
# the "primary" Linux artifact.
|
||||
pkgs="
|
||||
libgraphite2-dev
|
||||
libfontconfig1-dev
|
||||
libfuse2
|
||||
libicu-dev
|
||||
libssl-dev
|
||||
openssl
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2016-2020 the Tectonic Project
|
||||
# Copyright 2016-2023 the Tectonic Project
|
||||
# Licensed under the MIT License.
|
||||
#
|
||||
# Azure Pipelines template for a standard build-and-test workflow once
|
||||
|
@ -46,6 +46,10 @@ steps:
|
|||
echo "Cargo features for this build: $ffs --features=\"$fts\""
|
||||
echo "##vso[task.setvariable variable=CARGO_FEATURES_EXPLICIT;]$fts"
|
||||
echo "##vso[task.setvariable variable=CARGO_FEATURES_FLAGS;]$ffs"
|
||||
|
||||
# OK, this has nothing to do with features, but if a build script fails, it
|
||||
# can be helpful to get a full backtrace.
|
||||
echo "##vso[task.setvariable variable=RUST_BACKTRACE;]1"
|
||||
displayName: Set feature flags
|
||||
env:
|
||||
DEFAULT_FEATURES_FLAG: ${{ parameters.defaultFeatures }}
|
||||
|
@ -74,7 +78,8 @@ steps:
|
|||
artifactName: binary-$(TARGET)
|
||||
|
||||
# If, further, we're the primary build, do some stuff that should only happen
|
||||
# once among all of the build jobs.
|
||||
# once among all of the build jobs. TODO: this should probably be handled as
|
||||
# part of our deployment stage, now that we have a more refined CI/CD workflow.
|
||||
|
||||
- ${{ if eq(parameters.primaryBuild, true) }}:
|
||||
- bash: |
|
||||
|
|
Loading…
Reference in New Issue