rm wokflows
This commit is contained in:
parent
fef3f0baad
commit
fd651e3cf9
54
.github/workflows/cmake.yml
vendored
54
.github/workflows/cmake.yml
vendored
@ -1,54 +0,0 @@
|
||||
name: CMake_linux
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
- '**.yml'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
- '**.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-18.04, ubuntu-20.04]
|
||||
type: [Release]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install deps
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt-get install -y libgstreamer-plugins-base1.0-dev liborc-0.4-dev
|
||||
|
||||
- name: Configure CMake
|
||||
# Configure CMake in a 'build' subdirectory.
|
||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.type}} -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/output/${{matrix.type}}
|
||||
|
||||
- name: Build
|
||||
# Build your program with the given configuration
|
||||
run: |
|
||||
cd ${{github.workspace}}/build
|
||||
make install
|
||||
|
||||
- name: Upload a Build Artifact
|
||||
uses: actions/upload-artifact@v2.2.4
|
||||
with:
|
||||
# Artifact name
|
||||
name: gst-plugins-vision_${{matrix.os}}_${{matrix.type}}
|
||||
# A file, directory or wildcard pattern that describes what to upload
|
||||
path: ${{github.workspace}}/output/${{matrix.type}}
|
||||
|
||||
# - name: Test
|
||||
# working-directory: ${{github.workspace}}/build
|
||||
# # Execute tests defined by the CMake configuration.
|
||||
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
||||
# run: ctest -C ${{matrix.type}}
|
||||
|
||||
53
.github/workflows/msbuild.yml
vendored
53
.github/workflows/msbuild.yml
vendored
@ -1,53 +0,0 @@
|
||||
name: Windows
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
- '**.yml'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- 'README.md'
|
||||
- '**.yml'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
BUILD_TYPE: Release
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies on windows
|
||||
run: |
|
||||
choco install ninja cmake gstreamer gstreamer-devel --no-progres
|
||||
ninja --version
|
||||
cmake --version
|
||||
|
||||
- name: add to env
|
||||
run: |
|
||||
echo "GSTREAMER_1_0_ROOT_X86_64=C:\gstreamer\1.0\msvc_x86_64\" >> $env:GITHUB_ENV
|
||||
echo "GSTREAMER_1_0_ROOT_MSVC_X86_64=C:\gstreamer\1.0\msvc_x86_64\" >> $env:GITHUB_ENV
|
||||
echo "GSTREAMER_ROOT=C:\gstreamer\1.0\msvc_x86_64\" >> $env:GITHUB_ENV
|
||||
#echo "C:\gstreamer\1.0\msvc_x86_64\bin;C:\gstreamer\1.0\msvc_x86_64\lib;" >> $env:GITHUB_PATH
|
||||
|
||||
|
||||
- name: get ENV vars
|
||||
run: |
|
||||
dir env:
|
||||
|
||||
- name: Configure
|
||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/output/${{env.BUILD_TYPE}}
|
||||
|
||||
- name: Build
|
||||
# Build your program with the given configuration
|
||||
run: |
|
||||
cd ${{github.workspace}}/build
|
||||
make install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user