mirror of
https://github.com/starship/starship.git
synced 2024-11-26 18:24:28 +01:00
097f1b05f1
- Create `Config` struct that is added to `Context` when initialized - Read `~/.confg/starship.toml` during initialization (can be updated later to also look at `$XDG_CONFIG_HOME`) - `Context` now has a method for creating modules. This allows us to provide modules with a reference to the configuration specific to that module
27 lines
700 B
YAML
27 lines
700 B
YAML
jobs:
|
|
- job: ${{ parameters.name }}
|
|
displayName: ${{ parameters.displayName }}
|
|
strategy:
|
|
matrix:
|
|
Linux:
|
|
vmImage: ubuntu-16.04
|
|
MacOS:
|
|
vmImage: macOS-10.13
|
|
# # Temporarily disabling Windows tests while I'm away
|
|
# # Will reenable Windows tests once I'm able to troubleshoot Windows bugs
|
|
# Windows:
|
|
# vmImage: vs2017-win2016
|
|
pool:
|
|
vmImage: $(vmImage)
|
|
|
|
steps:
|
|
- template: azure-install-rust.yml
|
|
parameters:
|
|
rust_version: stable
|
|
|
|
- template: azure-setup-test-env.yml
|
|
|
|
# "-Z unstable-options" is required for "--include-ignored"
|
|
- script: cargo test -- -Z unstable-options --include-ignored
|
|
displayName: cargo test
|