-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 934 Bytes
/
test_app.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
################################
# @author: Mohamed Wx
# @brief: Testing github actions
#
################################
name: Testing
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
strategy:
matrix:
c_std: [c99]
env:
MODE: "dev"
steps:
- uses: actions/checkout@v3
# Setup the compiler
- name: Set up GCC Compiler & Makefile Utility
run: |
echo "Installing gcc..."
sudo apt-get update
sudo apt-get install -y gcc
sudo apt-get install -y make
# Build
- name: Build & Run the library
run: |
echo "Starting build process..."
echo "Current working directory: $(pwd)"
echo "List files in the directory:"
ls -al
bash ./build.sh