2021-03-16 19:54:44 +00:00
|
|
|
version: 'cosmo-0.1.{build}'
|
|
|
|
|
|
|
|
# we compile every commit under all branches
|
|
|
|
#branch:
|
|
|
|
# only:
|
|
|
|
# - main
|
|
|
|
|
2021-03-16 20:05:20 +00:00
|
|
|
# only run CI if we changed actual code
|
|
|
|
only_commits:
|
|
|
|
files:
|
|
|
|
- src/
|
2021-03-20 03:25:23 +00:00
|
|
|
- main.c
|
|
|
|
- Makefile
|
|
|
|
- CMakeLists.txt
|
|
|
|
- appveyor.yml
|
2021-03-16 20:05:20 +00:00
|
|
|
|
2021-03-16 19:54:44 +00:00
|
|
|
# images we're using
|
|
|
|
image:
|
|
|
|
- Ubuntu2004
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- x64
|
|
|
|
|
|
|
|
install:
|
|
|
|
- sudo apt install clang cmake -y
|
|
|
|
|
|
|
|
build_script:
|
2023-05-29 02:13:51 +00:00
|
|
|
- make && ./bin/cosmo examples/testsuite.cosmo -s examples/getters_setters.cosmo
|
2021-03-16 19:54:44 +00:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: bin
|
|
|
|
name: ubuntu20_04-bin-x64
|
|
|
|
type: zip
|