chore: Switch to this repository from predecessor
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9ecfa63f58
commit
7b00b01856
23 changed files with 733 additions and 32 deletions
63
.drone.yml
Normal file
63
.drone.yml
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: examples
|
||||
steps:
|
||||
- name: build
|
||||
image: maven
|
||||
volumes:
|
||||
- name: lib
|
||||
path: /drone/lib
|
||||
- name: m2
|
||||
path: /root/.m2
|
||||
commands:
|
||||
- mvn -ntp verify
|
||||
- cd /drone/lib
|
||||
- git clone https://github.com/metaborg/spt.git
|
||||
- cd spt/org.metaborg.spt.cmd
|
||||
- mvn -ntp package
|
||||
- name: run_spt
|
||||
image: maven
|
||||
volumes:
|
||||
- name: lib
|
||||
path: /drone/lib
|
||||
- name: m2
|
||||
path: /root/.m2
|
||||
commands:
|
||||
- cd /drone/lib/spt/org.metaborg.meta.lang.spt
|
||||
- mvn -ntp verify
|
||||
- cd /drone/src
|
||||
- java -jar /drone/lib/spt/org.metaborg.spt.cmd/target/org.metaborg.spt.cmd* -l . -s /drone/lib/spt/org.metaborg.meta.lang.spt -t tests
|
||||
- mkdir -p lib
|
||||
- curl -o lib/sunshine.jar -L 'http://artifacts.metaborg.org/service/local/artifact/maven/redirect?r=snapshots&g=org.metaborg&a=org.metaborg.sunshine2&v=LATEST'
|
||||
- bin/fosgen tests/emit_sum.fos
|
||||
- name: extract_tests
|
||||
image: xonsh/xonsh
|
||||
commands:
|
||||
- xonsh bin/extract_tests.xsh
|
||||
- name: generate_tests
|
||||
image: maven
|
||||
volumes:
|
||||
- name: lib
|
||||
path: /drone/lib
|
||||
- name: m2
|
||||
path: /root/.m2
|
||||
commands:
|
||||
- bin/generate_test_code
|
||||
- name: python_tests
|
||||
image: python:slim
|
||||
commands:
|
||||
- bin/run_tests python py
|
||||
- name: javascript_tests
|
||||
image: node
|
||||
commands:
|
||||
- bin/run_tests node js
|
||||
- name: haskell_tests
|
||||
image: haskell
|
||||
commands:
|
||||
- bin/run_tests runghc hs
|
||||
|
||||
volumes:
|
||||
- name: lib
|
||||
temp: {}
|
||||
- name: m2
|
||||
temp: {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue