mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-06 07:16:17 +00:00
Fixing the CI
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
4
.github/workflows/buildwin.yml
vendored
4
.github/workflows/buildwin.yml
vendored
@@ -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:
|
||||||
|
|||||||
5
.github/workflows/doc.yml
vendored
5
.github/workflows/doc.yml
vendored
@@ -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"
|
||||||
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -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
6
codecov.yml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
coverage:
|
||||||
|
status:
|
||||||
|
project:
|
||||||
|
default:
|
||||||
|
target: auto
|
||||||
|
threshold: 5%
|
||||||
Reference in New Issue
Block a user