mirror of
https://github.com/chmln/sd
synced 2024-07-08 16:35:44 +00:00
Cleanup
This commit is contained in:
parent
8268d403c5
commit
75429419b1
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -3,8 +3,8 @@ name: Test
|
||||||
on: [pull_request]
|
on: [pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
test:
|
||||||
name: Publish for ${{ matrix.os }}
|
name: Test for ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -35,6 +35,5 @@ jobs:
|
||||||
override: true
|
override: true
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo test
|
run: cargo test
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
trigger:
|
|
||||||
branches:
|
|
||||||
include: ['*']
|
|
||||||
tags:
|
|
||||||
include: ['*']
|
|
||||||
|
|
||||||
resources:
|
|
||||||
repositories:
|
|
||||||
- repository: rust_pipelines
|
|
||||||
type: github
|
|
||||||
name: xoac/rust-azure-pipelines
|
|
||||||
ref: refs/heads/master
|
|
||||||
endpoint: githubConnection
|
|
||||||
stages:
|
|
||||||
- stage: test
|
|
||||||
displayName: "Test"
|
|
||||||
jobs:
|
|
||||||
- template: ci/jobs/cargo-test.yaml@rust_pipelines
|
|
||||||
|
|
||||||
#condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
|
|
||||||
- stage: build
|
|
||||||
displayName: "Build"
|
|
||||||
jobs:
|
|
||||||
- template: ci/scenarios/builds.yml@rust_pipelines
|
|
||||||
dependsOn:
|
|
||||||
- test
|
|
||||||
|
|
||||||
# Deploy binaries to github only if tags start with `v` for example `v0.1.5`
|
|
||||||
- stage: deploy
|
|
||||||
displayName: "Deploy"
|
|
||||||
dependsOn:
|
|
||||||
- build
|
|
||||||
jobs:
|
|
||||||
- template: ci/scenarios/github/release.yml@rust_pipelines
|
|
||||||
parameters:
|
|
||||||
job_condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
|
|
||||||
gitHubConnection: githubConnection
|
|
Loading…
Reference in New Issue
Block a user