Fixing the CI

This commit is contained in:
Zoe Roux
2021-02-04 15:55:08 +01:00
parent 77232268bc
commit 6b18bb1257
5 changed files with 12 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ jobs:
run: sudo apt-get update && run: sudo apt-get update &&
sudo apt-get install --yes libfreetype6-dev libxrandr-dev libudev-dev libogg-dev libflac-dev libvorbis-dev libopenal-dev freeglut3-dev sudo apt-get install --yes libfreetype6-dev libxrandr-dev libudev-dev libogg-dev libflac-dev libvorbis-dev libopenal-dev freeglut3-dev
- name: Install Qt - name: Install Qt
uses: ouuan/install-qt-action@v2.3.1 uses: jurplel/install-qt-action@v2
- name: Install the SFML. - name: Install the SFML.
run: | run: |
git clone https://github.com/SFML/SFML -b 2.5.x /tmp/sfml git clone https://github.com/SFML/SFML -b 2.5.x /tmp/sfml

View File

@@ -3,10 +3,10 @@ name: Build for windows
on: on:
push: push:
branches: branches:
- master - CI-TEST
pull_request: pull_request:
branches: branches:
- master - CI-TEST
jobs: jobs:
Building: Building:

View File

@@ -21,10 +21,11 @@ jobs:
cd docs cd docs
git config --global user.email "${GITHUB_ACTOR}@github.com"; git config --global user.email "${GITHUB_ACTOR}@github.com";
git config --global user.name "${GITHUB_ACTOR}"; git config --global user.name "${GITHUB_ACTOR}";
git init
git add -A; git add -A;
git commit -m "Deploying the doc"; git commit -m "Deploying the doc";
git remote set-url --push origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_REPO}; git remote add origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_REPO};
git push origin gh-pages; git push --force origin gh-pages;
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPO: "github.com/AnonymusRaccoon/ComSquare" GITHUB_REPO: "github.com/AnonymusRaccoon/ComSquare"

View File

@@ -21,9 +21,6 @@ jobs:
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: '3.x' python-version: '3.x'
- name: Install the SFML.
run: sudo apt-get update &&
sudo apt-get install --yes libsfml-dev qt5-default
- name: Install Criterion - name: Install Criterion
run: sudo add-apt-repository ppa:snaipewastaken/ppa && run: sudo add-apt-repository ppa:snaipewastaken/ppa &&
sudo apt-get update && sudo apt-get update &&

6
codecov.yml Normal file
View File

@@ -0,0 +1,6 @@
coverage:
status:
project:
default:
target: auto
threshold: 5%