Skip to content

Commit

Permalink
Add a rudimentary CI
Browse files Browse the repository at this point in the history
  • Loading branch information
setton committed Dec 13, 2022
1 parent 3c9628a commit dc38ff4
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 dc38ff4

Please sign in to comment.