1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(CI): Move gitstats and docs to ubuntu-latest

They're not platform dependent and the rest of our jobs run on ubuntu-latest.
Might as well move this one over so we don't have to remember to update it.

gitstats is not available in repo any longer, so install manually.
This commit is contained in:
Anthony Bilinski 2022-02-21 08:03:11 -08:00
parent a1f19f44e2
commit e5d138f79c
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -481,7 +481,7 @@ jobs:
artifacts: "qTox-nightly.dmg" artifacts: "qTox-nightly.dmg"
build-docs: build-docs:
name: Docs name: Docs
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
env: env:
DOXYGEN_CONFIG_FILE: doxygen.conf DOXYGEN_CONFIG_FILE: doxygen.conf
steps: steps:
@ -492,7 +492,7 @@ jobs:
run: ./.ci-scripts/build-docs.sh run: ./.ci-scripts/build-docs.sh
build-gitstats: build-gitstats:
name: Gitstats name: Gitstats
runs-on: ubuntu-18.04 runs-on: ubuntu-latest
env: env:
GITSTATS_DIR: gitstats GITSTATS_DIR: gitstats
steps: steps:
@ -500,7 +500,11 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install gitstats - name: Install gitstats
run: sudo apt-get install gitstats run: |
sudo apt-get install gnuplot
git clone git://github.com/hoxu/gitstats.git
cd gitstats
sudo make install
- name: Run - name: Run
run: ./.ci-scripts/build-gitstats.sh run: ./.ci-scripts/build-gitstats.sh
- name: Deploy - name: Deploy