Skip to content

Commit a2b4832

Browse files
committed
Created CI/CD workflow to test installation
Signed-off-by: FaithKovi <faithkovivera@gmail.com>
1 parent 3713eaa commit a2b4832

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/tests.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Test bot installation script on different operating systems
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
8+
workflow_dispatch:
9+
10+
defaults:
11+
run:
12+
shell: bash
13+
14+
jobs:
15+
test:
16+
name: Test bot script on ${{ matrix.os }} with ${{ matrix.compiler }}.
17+
runs-on: ${{ matrix.os }}
18+
strategy:
19+
matrix:
20+
os: [ubuntu-latest, macos-latest]
21+
compiler: [ g++-10 ]
22+
include:
23+
- os: ubuntu-latest
24+
compiler: g++-10
25+
target: Linux
26+
27+
- os: macos-latest
28+
compiler: g++-10
29+
target: Macos
30+
31+
- os: windows-latest
32+
compiler: cl
33+
target: Windows
34+
35+
steps:
36+
- uses: actions/checkout@v3
37+
- name: Run shell script
38+
run: |
39+
chmod +x install.sh
40+
./install.sh
41+

0 commit comments

Comments
 (0)