Skip to content

update IANA database Sat Jul 8 09:21:51 UTC 2023 #55

update IANA database Sat Jul 8 09:21:51 UTC 2023

update IANA database Sat Jul 8 09:21:51 UTC 2023 #55

Workflow file for this run

name: codecov
on:
push:
branches: [ master ]
paths:
- 'bin/**'
- 'src/**'
- 'include/**'
- 'partial/**'
- 'tests/**'
- '.github/workflows/codecov.yml'
- 'Makefile'
# Allows you to run this workflow manually from the Actions tab
#workflow_dispatch:
jobs:
codecov-idn2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update apt
run: sudo apt-get update
- name: install dependencies
run: sudo apt-get install -y libidn2-0-dev
- name: make coverage (libidn2)
run: make coverage FORCE_IDN=idn2
- name: upload codecov (libidn2)
uses: codecov/codecov-action@v3
with:
name: ubuntu-latest-libidn2
fail_ci_if_error: true
verbose: true
gcov: true
gcov_ignore: tests
flags: core,libidn2
codecov-idn:
runs-on: ubuntu-latest
env:
CHARSET: UTF-8
steps:
- uses: actions/checkout@v3
- name: update apt
run: sudo apt-get update
- name: install dependencies
run: sudo apt-get install -y libidn11-dev
- name: make coverage (libidn)
run: make coverage FORCE_IDN=idn
- name: upload codecov (libidn)
uses: codecov/codecov-action@v3
with:
name: ubuntu-latest-libidn
fail_ci_if_error: true
verbose: true
gcov: true
gcov_ignore: tests
flags: core,libidn
codecov-idnkit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: update apt
run: sudo apt-get update
# indkit's tests prerequisites (aka 'make check'):
# apt-get install libxml-simple-perl
# sed -i 's,^# ja_JP.EUC-JP EUC-JP,ja_JP.EUC-JP EUC-JP,' /etc/locale.gen
# sed -i 's,^# ja_JP.UTF-8 UTF-8,ja_JP.UTF-8 UTF-8,' /etc/locale.gen
#
# # already done on github servers
# apt-get install libc6-dev
# - name: install dependencies
# run: sudo apt-get install libxml-simple-perl -y
#
# - name: create ja_JP locale
# run: |
# sudo sed -i 's,^# ja_JP.EUC-JP EUC-JP,ja_JP.EUC-JP EUC-JP,' /etc/locale.gen
# sudo sed -i 's,^# ja_JP.UTF-8 UTF-8,ja_JP.UTF-8 UTF-8,' /etc/locale.gen
# sudo locale-gen
- name: download idnkit
run: curl -Os -L https://jprs.co.jp/idn/idnkit-2.3.tar.bz2
- name: unpack idnkit
run: tar xjvf idnkit-2.3.tar.bz2
- name: build idnkit
run: |
cd idnkit-2.3
./configure --prefix=$HOME/local
make
make install
cd ..
- name: make coverage (idnkit)
run: make coverage FORCE_IDN=idnkit IDNKIT_DIR=$HOME/local
- name: upload codecov (idnkit)
uses: codecov/codecov-action@v3
with:
name: ubuntu-latest-idnkit
fail_ci_if_error: true
verbose: true
gcov: true
gcov_ignore: tests
flags: core,idnkit