Update CI config

This commit is contained in:
Gabriel Arazas 2020-11-07 21:36:32 +08:00
parent 587244d185
commit 8b57c33678

View File

@ -1,18 +1,20 @@
dist: bionic dist: focal
language: generic language: go
go:
- 1.13
before_install: before_install:
- sudo apt-get update - sudo apt-get update
- sudo apt-get install python3 git - sudo apt-get install git jq wget graphviz
- sudo apt-get install ruby jq wget graphviz
- sudo snap install go
- wget "https://github.com/gohugoio/hugo/releases/download/v${HUGO_RELEASE}/hugo_extended_${HUGO_RELEASE}_Linux-64bit.deb" - wget "https://github.com/gohugoio/hugo/releases/download/v${HUGO_RELEASE}/hugo_extended_${HUGO_RELEASE}_Linux-64bit.deb"
- sudo dpkg -i *.deb - sudo dpkg -i *.deb
- sudo gem install asciidoctor asciidoctor-diagram - sudo gem install asciidoctor asciidoctor-diagram
- git clone https://git.sr.ht/~sircmpwn/openring && cd openring && go build - go version
script: script:
- make build - git clone https://git.sr.ht/~sircmpwn/openring && cd openring && go build && cd ../
- chmod +x ./bin/openring-create && ./bin/openring-create
- hugo
env: env:
global: global: