Workflow update #8 && FUNDING.yml #14
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: C/C++ CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
make: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install build dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y build-essential python3 make | |
- name: Build server | |
run: | | |
make | |
- name: Run server and tests | |
run: | | |
chmod +x ./dist/ciso8583 | |
./dist/ciso8583 -o ./ciso8583.log & | |
pid=$! | |
sleep 10 | |
cd ./test | |
python3 ./client.py 1804 | |
cd - | |
kill $pid | |
make clean | |
cat ./ciso8583.log |