-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (47 loc) · 1.45 KB
/
actions.yml
File metadata and controls
54 lines (47 loc) · 1.45 KB
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
47
48
49
50
51
52
53
54
# name: CI for Cmake Project - Linux
# on:
# push:
# branches:
# - master
# pull_request:
# branches:
# - master
# If you are doing triggering your workflow from pushes or merging more than twice a day on average,
# please execute your workflow on a schedule instead.
# Comment the above 7 lines, and uncomment the following 3 lines
# on:
# schedule:
# - cron: "0 09,23 * * *"
# env:
# BUILD_TYPE: Release
# jobs:
# build:
# runs-on: ubuntu-latest
# timeout-minutes: 3
# strategy:
# fail-fast: true
# steps:
# - uses: actions/checkout@v2
# - name: Build in docker
# working-directory: ${{runner.workspace}}
# shell: bash
# run: docker build -t cs3203t05 ${{github.workspace}}
# - name: Run Unit Tests
# working-directory: ${{runner.workspace}}
# shell: bash
# run: docker run cs3203t05 unit_testing
# - name: Run Integration Tests
# working-directory: ${{runner.workspace}}
# shell: bash
# run: docker run cs3203t05 integration_testing
# lint:
# runs-on: ubuntu-latest
# timeout-minutes: 1
# strategy:
# fail-fast: true
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-python@v2
# - run: pip install cpplint
# - name: Linting the Code
# run: cpplint --recursive Team05/Code05/src/spa Team05/Code05/src/unit_testing Team05/Code05/src/integration_testing