Add FreeBSD build
This commit is contained in:
parent
1bec6742f8
commit
ae3912299b
2 changed files with 32 additions and 3 deletions
|
@ -4,9 +4,9 @@ packages:
|
|||
sources:
|
||||
- https://git.sr.ht/~crocmagnon/blog
|
||||
secrets:
|
||||
- 388c4445-d732-440b-8ff5-fc5dfb46f04a
|
||||
- 78118477-73c2-4805-a613-c7aab23c92a8
|
||||
- 5c948915-48c2-4542-8fc1-a5676f4d7126
|
||||
- 388c4445-d732-440b-8ff5-fc5dfb46f04a # Scaleway Docker registry password
|
||||
- 78118477-73c2-4805-a613-c7aab23c92a8 # SSH config for blog
|
||||
- 5c948915-48c2-4542-8fc1-a5676f4d7126 # Deploy SSH key
|
||||
environment:
|
||||
TESTING: true
|
||||
DEPS_LATEST: rg.fr-par.scw.cloud/crocmagnon/blog:deps-latest
|
29
.builds/freebsd.yml
Normal file
29
.builds/freebsd.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
image: freebsd/12.x
|
||||
packages:
|
||||
- python38
|
||||
- py38-sqlite3
|
||||
- jpeg-turbo
|
||||
sources:
|
||||
- https://git.sr.ht/~crocmagnon/blog
|
||||
secrets:
|
||||
- 78118477-73c2-4805-a613-c7aab23c92a8 # SSH config for blog
|
||||
- 5c948915-48c2-4542-8fc1-a5676f4d7126 # Deploy SSH key
|
||||
environment:
|
||||
TESTING: true
|
||||
POETRY_VERSION: 1.1.4
|
||||
tasks:
|
||||
- install_poetry: |
|
||||
mkdir $HOME/bin
|
||||
ln -s $(which python3.8) $HOME/bin/python
|
||||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
|
||||
echo "source $HOME/.poetry/env" >> ~/.buildenv
|
||||
- install_deps: |
|
||||
cd blog
|
||||
poetry install -n
|
||||
- test: |
|
||||
cd blog
|
||||
poetry run ./docker/runtests.sh
|
||||
triggers:
|
||||
- action: email
|
||||
condition: failure
|
||||
to: Gabriel Augendre <gabriel@augendre.info>
|
Reference in a new issue