-
Notifications
You must be signed in to change notification settings - Fork 23
/
.gitlab-ci.yml
39 lines (35 loc) · 1010 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
variables:
GIT_SUBMODULE_STRATEGY: recursive
build_linux_float32:
stage: build
script:
- ./bootstrap.sh
- ./configure --with-sdkdir=$HOME/pure-data/src --enable-cmem
- make
artifacts:
paths:
- tutorial/*/*.pd_linux
expire_in: 1h
build_linux_float64:
# only test-compile 64-bit build for now, don't test
stage: build
script:
- ./bootstrap.sh
- ./configure --enable-system=pd64 --with-sdkdir=$HOME/pure-data/src --enable-cmem
- make
artifacts:
paths:
- tutorial/*/*.linux-*-64.so
expire_in: 1h
test_linux:
stage: test
script:
- $CI_PROJECT_DIR/tutorial/pd/test.sh $CI_PROJECT_DIR
push_github:
stage: deploy
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
script:
- git remote add github https://[email protected]/$GITHUB_USERNAME/$CI_PROJECT_NAME.git || true
# we need some extra treatment because the gitlab-runner doesn't check out the full history
- git push github HEAD:master --tags