Skip to content

🧑‍💻 Support TI-CGT by meson #126

🧑‍💻 Support TI-CGT by meson

🧑‍💻 Support TI-CGT by meson #126

Workflow file for this run

---
"on":
push:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
workflow_dispatch:
# https://github.com/softprops/action-gh-release/issues/236
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mig4/setup-bats@v1
- uses: brokenpip3/[email protected]
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install check
- name: Test
# disable bashcov due to bug
# https://bugs.launchpad.net/ubuntu/+source/check/+bug/2019478
run: |
# cmake -Bbuild
# cmake --build build --target check_downsample
# ctest --test-dir build
bats -r .
make check
- uses: codecov/codecov-action@v3
with:
gcov: true
build:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get -y update
sudo apt-get -y install check
# gcc-mingw-w64-x86-64-win32
- name: Build
run: |
autoreconf -vif
./configure
make dist
make
# ./configure --build=x86_64-pc-linux-gnu --host=x86_64-w64-mingw32
# make
- uses: actions/upload-artifact@v3
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
with:
path: |
x264
*.tar.gz
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
# body_path: CHANGELOG.md
files: |
x264
*.tar.gz