new drone, convert some macros to functions #32

Merged
jake merged 4 commits from somecleaning into master 2023-11-15 00:05:42 -05:00
Showing only changes of commit 22278e04e6 - Show all commits

View File

@ -3,8 +3,14 @@ kind: pipeline
type: docker
name: test libpso
concurrency:
limit: 1
environment:
CARGO_INCREMENTAL: false
steps:
- name: cargo build
- name: clean cache
image: rustlang/rust:nightly
volumes:
- name: cache
@ -12,8 +18,8 @@ steps:
- name: target-cache
path: /drone/src/target
commands:
- cargo build
- name: cargo test
- cargo prune
- name: build
image: rustlang/rust:nightly
volumes:
- name: cache
@ -21,7 +27,25 @@ steps:
- name: target-cache
path: /drone/src/target
commands:
- cargo test
- cargo build
- name: clippy!
image: rustlang/rust:nightly
volumes:
- name: cache
path: /usr/local/cargo
- name: target-cache
path: /drone/src/target
commands:
- cargo clippy -- --deny warnings
- name: test
image: rustlang/rust:nightly
volumes:
- name: cache
path: /usr/local/cargo
- name: target-cache
path: /drone/src/target
commands:
- cargo test --jobs 1
volumes:
- name: cache
@ -30,4 +54,3 @@ volumes:
- name: target-cache
host:
path: /home/drone/cargo-cache