Skip to content

Commit

Permalink
Merge branch 'topic/ci' into 'master'
Browse files Browse the repository at this point in the history
Add a rudimentary CI

See merge request eng/ide/libadalang-tools!6
  • Loading branch information
setton committed Dec 13, 2022
2 parents 3c9628a + dc38ff4 commit 30a85b3
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
stages:
- build_and_test

#########
# BUILD #
#########

build_and_test:
services:
- image:sandbox
- cpu:8
- mem:16
stage: build_and_test
script:
- . ~/.aws_container_credentials
- export PATH=/it/e3/bin:$PATH

# Tell the anod sandbox to use our repository
- cd /it/wave
- anod vcs --add-repo libadalang-tools $CI_PROJECT_DIR

# Build and test
- anod build libadalang-tools
- anod test libadalang-tools
- e3-testsuite-report
--failure-exit-code 1
--xunit-output $CI_PROJECT_DIR/xunit_output.xml
x86_64-linux/laltools-test/results/new/

artifacts:
when: always
paths:
- xunit_output.xml
reports:
junit: xunit_output.xml

0 comments on commit 30a85b3

Please sign in to comment.