-
Notifications
You must be signed in to change notification settings - Fork 862
57 lines (48 loc) · 1.42 KB
/
continuous-integration.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
47
48
49
50
51
52
53
54
55
56
57
# This file describes the GitHub Actions workflow for continuous integration of Spike.
#
# See
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
# for API reference documentation on this file format.
name: Continuous Integration
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Test Spike build (Ubuntu)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
# checkout full tree
fetch-depth: 0
- name: Install Dependencies
run: sudo xargs apt-get install -y < .github/workflows/apt-packages.txt
- run: |
for commit in $(git rev-list origin/master..HEAD | tac); do
git checkout $commit
echo "Checking commit $commit"
ci-tests/build-spike
ci-tests/test-spike
done
test-macos:
name: Test Spike build (MacOS)
runs-on: macos-12
steps:
- uses: actions/checkout@v2
with:
# checkout full tree
fetch-depth: 0
- name: Install Dependencies
run: xargs brew install --overwrite < .github/workflows/brew-packages.txt
- run: |
for commit in $(git rev-list origin/master..HEAD | tail -r); do
git checkout $commit
echo "Checking commit $commit"
ci-tests/build-spike
ci-tests/test-spike
done