Handle session close properly #147
Workflow file for this run
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
name: CI - Linux GNU Compilation | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'development' | |
pull_request: | |
branches: | |
- 'main' | |
- 'development' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Install auto tools | |
run: | | |
sudo apt-get install automake | |
- name: Download Linaro tools and untar | |
run: | | |
wget -c https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu.tar.xz | |
tar xf gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu.tar.xz | |
- name: Set Up Build Environment and compile code for LE platform | |
run: | | |
# Set Up Build Environment | |
export PATH="$PWD/gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu/bin/:$PATH" | |
export CC=aarch64-linux-gnu-gcc | |
export CXX=aarch64-linux-gnu-g++ | |
export AS=aarch64-linux-gnu-as | |
export LD=aarch64-linux-gnu-ld | |
export RANLIB=aarch64-linux-gnu-ranlib | |
export STRIP=aarch64-linux-gnu-strip | |
# Compile the source code | |
chmod 777 gitcompile | |
./gitcompile --host=aarch64-linux-gnu | |
- name: Verify the compiled binaries | |
run: | | |
echo "Verify the compiled binaries" | |
Files=("src/.libs/libadsp_default_listener.so | |
src/.libs/libadsprpc.so | |
src/.libs/libcdsp_default_listener.so | |
src/.libs/libcdsprpc.so | |
src/.libs/libsdsp_default_listener.so | |
src/.libs/libsdsprpc.so | |
src/adsprpcd | |
src/cdsprpcd | |
src/sdsprpcd") | |
for File in $Files | |
do | |
if [ -f $File ] ; then echo $File " - Exists" ; else echo $File " - Not Exists" && exit -1 ; fi | |
done |