mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
027fb781bd
* add github actions from "ptheywood/cuda-cmake-github-actions" * fix typo * rename * Revert "rename" This reverts commitded445f3bb
. * add cudnn env variable * remove old cuda configs and try to fix installation * add run tests * fix test path * actually build tests * fix missing $ * fix syntax * debug test path * fix test build dir * fix cmake syntax * fix working directory * Revert "debug test path" This reverts commit6d5b4e7a1f
. * uncomment other configurations * fix run test path * fix test run dir again * syntax * it's really not my day... * remove incompatible configs and make tests run silently * add initial windows script from ptheywood/cuda-cmake-github-actions * fix windows script path * add test for windows * remove dot slash * install cublas_dev * try adding cudnn (I really need a Windows machine to test this) * remove windows workflow scripts * try config with ubuntu 20.10 * fix syntax error * try to fix DLIB not using CUDA * try again with ubuntu 20.04 * remove backticks * remove superfluous configure step * fix cuda parsing for v10.2 * debug test * change working dir... * do not run test silently * install nvidia drivers * only install server drivers * load nvidia kernel module * move module loading to script * try to fix kernel module loading * add simple github actions workflow * add simple github actions workflow * fix path? * fix config step * only build the dtest target * handle Windows path * use ./ on windows * debugging * debugging * debugging * except for the timer test on macOS, the rest works * remove cuda custom tests, for the moment * build in Relase mode to try to avoid timeout on Windows * debugging * actually change build config * do not test the timer on macOS * try building python
29 lines
425 B
YAML
29 lines
425 B
YAML
name: Python
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
env:
|
|
config: Release
|
|
build_dir: build
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
working-directory: ${{ github.workspace }}
|
|
run: python setup.py build
|