-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#167] Update CI workflow to use block run;
- Loading branch information
Showing
4 changed files
with
119 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
name: Minimal Build | ||
|
||
on: | ||
push: | ||
branches: [ main, dev ] | ||
pull_request: | ||
|
||
jobs: | ||
# | ||
# Minimal Build | ||
# | ||
minimal_build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Container Setup | ||
- name: Container Setup | ||
run: | | ||
apt update; | ||
apt install -y \ | ||
autoconf \ | ||
cmake \ | ||
g++-multilib \ | ||
gcc-multilib \ | ||
gettext \ | ||
git \ | ||
gdb \ | ||
lcov \ | ||
libcurl4-openssl-dev \ | ||
libmariadb-dev \ | ||
libmariadb-dev-compat \ | ||
libgcrypt20-dev \ | ||
libtool \ | ||
python3-dev \ | ||
python3-pip | ||
pip3 install pycryptodome | ||
# End Container Setup | ||
|
||
- name: Minimal Build Script | ||
run: bash ${GITHUB_WORKSPACE}/support/scripts/build_minimal.sh | ||
|
||
# | ||
# Internal Build | ||
# | ||
internal_build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Container Setup | ||
- name: Container Setup | ||
run: apt update; \ | ||
apt install -y \ | ||
autoconf \ | ||
cmake \ | ||
g++-multilib \ | ||
gcc-multilib \ | ||
gettext \ | ||
git \ | ||
gdb \ | ||
lcov \ | ||
libcurl4-openssl-dev \ | ||
libmariadb-dev \ | ||
libmariadb-dev-compat \ | ||
libgcrypt20-dev \ | ||
libtool \ | ||
python3-dev \ | ||
python3-pip \ | ||
pip3 install pycryptodome | ||
# End Container Setup | ||
|
||
- name: Internal Build Script | ||
run: bash ${GITHUB_WORKSPACE}/support/scripts/build_internal.sh | ||
|
||
- name: Code-Coverage | ||
working-directory: ${{github.workspace}}/build | ||
run: make gcov | ||
|
||
- name: Upload | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
files: 'coverage/*.c.gcov' | ||
|
||
# | ||
# KMC Build | ||
# | ||
kmc_build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
# Container Setup | ||
- name: Container Setup | ||
run: apt update; \ | ||
apt install -y \ | ||
autoconf \ | ||
cmake \ | ||
g++-multilib \ | ||
gcc-multilib \ | ||
gettext \ | ||
git \ | ||
gdb \ | ||
lcov \ | ||
libcurl4-openssl-dev \ | ||
libmariadb-dev \ | ||
libmariadb-dev-compat \ | ||
libgcrypt20-dev \ | ||
libtool \ | ||
python3-dev \ | ||
python3-pip \ | ||
pip3 install pycryptodome | ||
# End Container Setup | ||
|
||
- name: KMC Build Script | ||
run: bash ${GITHUB_WORKSPACE}/support/scripts/build_kmc.sh |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.