Skip to content

Commit d4f4cae

Browse files
0sakcagix
authored andcommitted
Tooling: add GitHub workflow to perform software test
Additions : * Github Action test_suite.yml
1 parent fb836c0 commit d4f4cae

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/test_suite.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CBuilder Tests & C-Runtime Tests
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
catch2:
9+
name: Testing C-Runtime
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest, macos-latest]
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
- name: Pre Clean
18+
working-directory: ./c-runtime
19+
run: make clean
20+
- name: Exec makefile
21+
working-directory: ./c-runtime
22+
run: make test
23+
- name: Clean Up
24+
working-directory: ./c-runtime
25+
run: make test_clean ; make clean
26+
27+
languagefeatures:
28+
name: Testing CBuilder (Java)
29+
strategy:
30+
matrix:
31+
os: [ubuntu-latest, macos-latest]
32+
runs-on: ${{ matrix.os }}
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
- name: Set up JDK 21
37+
uses: actions/setup-java@v4
38+
with:
39+
java-version: '21'
40+
distribution: 'temurin'
41+
- name: Build with Gradle
42+
run: ./gradlew test

0 commit comments

Comments
 (0)