Skip to content

Commit

Permalink
Merge pull request #2551 from alicevision/ci/reworkWindowsCI
Browse files Browse the repository at this point in the history
[ci] Use GitHub's workflows for the Windows CI instead of appveyor
  • Loading branch information
fabiencastan authored Sep 27, 2024
2 parents dc8b724 + 25af224 commit 809d43b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 49 deletions.
38 changes: 36 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ env:

jobs:
build-linux:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8.14]
python-version: [ 3.9.13 ]
env:
MESHROOM_NODES_PATH: '${{ github.workspace }}/../meshroomNodes/meshroom/nodes'

Expand Down Expand Up @@ -53,3 +53,37 @@ jobs:
- name: Test with pytest
run: |
pytest tests/
build-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: [ 3.9.13 ]
env:
MESHROOM_NODES_PATH: '${{ github.workspace }}/../meshroomNodes/meshroom/nodes'

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Clone meshroomNodes
run: |
cd ..
git clone https://github.com/alicevision/meshroomNodes.git
cd ${{ github.workspace }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install -r requirements.txt -r dev_requirements.txt --timeout 45
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest tests/
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ Learn more details about the pipeline on [AliceVision website](http://alicevisio

See [results of the pipeline on sketchfab](http://sketchfab.com/AliceVision).

Continuous integration:
* Windows: [![Build status](https://ci.appveyor.com/api/projects/status/25sd7lfr3v0rnvni/branch/develop?svg=true)](https://ci.appveyor.com/project/AliceVision/meshroom/branch/develop)
* Linux: [![Build Status](https://travis-ci.org/alicevision/meshroom.svg?branch=develop)](https://travis-ci.org/alicevision/meshroom)
Continuous integration: [![Build status](https://github.com/alicevision/Meshroom/actions/workflows/continuous-integration.yml/badge.svg?branch=develop)](https://github.com/alicevision/Meshroom/actions/workflows/continuous-integration.yml)


## Photogrammetry
Expand Down
21 changes: 0 additions & 21 deletions appveyor.yml

This file was deleted.

0 comments on commit 809d43b

Please sign in to comment.