mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-08-31 05:47:22 +00:00
drone.yml -> drone.jsonnet
This commit is contained in:
parent
ff57236283
commit
353ad35bbb
2 changed files with 24 additions and 16 deletions
24
.drone.jsonnet
Normal file
24
.drone.jsonnet
Normal file
|
@ -0,0 +1,24 @@
|
|||
local Pipeline(name, os) = {
|
||||
kind: "pipeline",
|
||||
name: name,
|
||||
platform: {
|
||||
os: os
|
||||
arch: "amd64"
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: "test",
|
||||
image: "rust:1.49-slim-buster",
|
||||
commands: [
|
||||
"cargo build --verbose --all",
|
||||
"cargo test --verbose --all"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
[
|
||||
Pipeline("Linux", "linux"),
|
||||
Pipeline("Windows", "windows"),
|
||||
Pipeline("MacOS", "darwin")
|
||||
],
|
16
.drone.yml
16
.drone.yml
|
@ -1,16 +0,0 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: unit test server
|
||||
image: instrumentisto/rust:nightly-stretch-slim
|
||||
commands:
|
||||
- cd server
|
||||
- cargo test
|
||||
|
||||
- name: lint client
|
||||
image: node:14
|
||||
commands:
|
||||
- npm i --unsafe-perm
|
||||
- npm run compile
|
||||
- npm run lint
|
Loading…
Add table
Add a link
Reference in a new issue