Merge pull request #1427 from YenHaoChen/pr-textra-sbytemask #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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-20.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); 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 < .github/workflows/brew-packages.txt | |
- run: | | |
for commit in $(git rev-list origin/master..HEAD); do | |
git checkout $commit | |
echo "Checking commit $commit" | |
ci-tests/build-spike | |
ci-tests/test-spike | |
done |