mirror of
https://github.com/kanaka/mal.git
synced 2024-08-17 09:40:21 +03:00
- Dynamically generate a strategy matrix based on the list of changed files in this push/pull_request. If the changed files are restricted to implementations then only generate a matrix with those implementations. If the changes are to tests or other non-documentation files (runtest.py, IMPLS.yml, .github/*, etc) then run the full set. The matrix generation is done in get-ci-matrix.py. - Split the implementation list for Github Actions out into a separate yaml file IMPLS.yml - Reduce the travis file to just the OS X / XCode related builds that aren't supported on Github Actions. - Rename the .travis_test.sh script to ci.sh since it is the general CI script used for both Travis CI and Github Actions.
20 lines
665 B
YAML
20 lines
665 B
YAML
sudo: required
|
|
|
|
# matrix layout based on:
|
|
# https://github.com/libressl-portable/portable/blob/9e090286b55def5ca2c0cc375c65023a70d8796e/.travis.yml
|
|
|
|
matrix:
|
|
include:
|
|
- {env: IMPL=objc NO_DOCKER=1, os: osx, osx_image: xcode7}
|
|
- {env: IMPL=swift NO_DOCKER=1, os: osx, osx_image: xcode7.3}
|
|
- {env: IMPL=swift3 NO_DOCKER=1, os: osx, osx_image: xcode8}
|
|
- {env: IMPL=swift4 NO_DOCKER=1, os: osx, osx_image: xcode10}
|
|
- {env: IMPL=swift5 NO_DOCKER=1, os: osx, osx_image: xcode11}
|
|
|
|
script:
|
|
# Build, test, perf
|
|
- ./ci.sh build ${IMPL}
|
|
- ./ci.sh test ${IMPL}
|
|
- STEP=stepA REGRESS=1 HARD=1 OPTIONAL=0 ./ci.sh test ${IMPL}
|
|
- ./ci.sh perf ${IMPL}
|