mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 11:24:05 +00:00
[CI] Update Github actions
This commit is contained in:
parent
a8c458469c
commit
3479218ca8
42
.github/workflows/pull_request.yml
vendored
42
.github/workflows/pull_request.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Kvazaar_pr_tests
|
name: uvg266_pr_tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
|
@ -14,12 +14,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{github.event.pull_request.head.ref}}
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && make check -j VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
test-ubsan:
|
test-ubsan:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -33,12 +33,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{github.event.pull_request.head.ref}}
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
test-asan:
|
test-asan:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -56,12 +56,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{github.event.pull_request.head.ref}}
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
test-tsan:
|
test-tsan:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -75,12 +75,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{github.event.pull_request.head.ref}}
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
test-valgrind:
|
test-valgrind:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -94,9 +94,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{github.event.pull_request.head.ref}}
|
ref: ${{github.event.pull_request.head.ref}}
|
||||||
repository: ${{github.event.pull_request.head.repo.full_name}}
|
repository: ${{github.event.pull_request.head.repo.full_name}}
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && KVZ_TEST_VALGRIND=1 make check -j4 VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
44
.github/workflows/uvg266.yml
vendored
44
.github/workflows/uvg266.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Kvazaar_tests
|
name: uvg266_tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -11,12 +11,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && make check -j VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
test-ubsan:
|
test-ubsan:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -26,12 +26,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
test-asan:
|
test-asan:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -41,16 +41,16 @@ jobs:
|
||||||
ASAN_OPTIONS: detect_leaks=0
|
ASAN_OPTIONS: detect_leaks=0
|
||||||
# AddressSanitizer adds some extra symbols so we expect a failure from
|
# AddressSanitizer adds some extra symbols so we expect a failure from
|
||||||
# the external symbols test.
|
# the external symbols test.
|
||||||
XFAIL_TESTS: test_external_symbols.sh
|
XFAIL_TESTS: test_external_symbols
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
test-tsan:
|
test-tsan:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -60,12 +60,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && make check -j4 VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
||||||
test-valgrind:
|
test-valgrind:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -75,9 +75,9 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: configure
|
- name: cmake
|
||||||
run: ./autogen.sh && ./configure --enable-werror || (cat config.log && false)
|
run: cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./ . || (cat config.log && false)
|
||||||
- name: make
|
- name: make
|
||||||
run: make -j
|
run: make install -j
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: export PATH="/home/docker/bin:${PATH}" && KVZ_TEST_VALGRIND=1 make check -j4 VERBOSE=1
|
run: export PATH="/home/docker/bin:${PATH}" && CTEST_PARALLEL_LEVEL=8 CTEST_OUTPUT_ON_FAILURE=1 make test
|
||||||
|
|
Loading…
Reference in a new issue