mirror of https://github.com/Desuuuu/klipper.git
build-test: Remove references to "travis" in build tests
Use "ci-build.sh" "ci-install.sh" and similar, as travis-ci is no longer being used. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
33a2d48888
commit
fd973acd34
|
@ -14,17 +14,17 @@ jobs:
|
|||
- name: Setup cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: travis_cache
|
||||
key: ${{ runner.os }}-build-${{ hashFiles('scripts/travis-install.sh') }}
|
||||
path: ci_cache
|
||||
key: ${{ runner.os }}-build-${{ hashFiles('scripts/ci-install.sh') }}
|
||||
|
||||
- name: Prepare tests
|
||||
run: ./scripts/travis-install.sh
|
||||
run: ./scripts/ci-install.sh
|
||||
|
||||
- name: Test
|
||||
run: ./scripts/travis-build.sh 2>&1
|
||||
run: ./scripts/ci-build.sh 2>&1
|
||||
|
||||
- name: Upload micro-controller data dictionaries
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: data-dict
|
||||
path: travis_build/dict
|
||||
path: ci_build/dict
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
#!/bin/bash
|
||||
# Test script for travis-ci.org continuous integration.
|
||||
# Test script for continuous integration.
|
||||
|
||||
# Stop script early on any error; check variables
|
||||
set -eu
|
||||
|
||||
# Paths to tools installed by travis-install.sh
|
||||
# Paths to tools installed by ci-install.sh
|
||||
MAIN_DIR=${PWD}
|
||||
BUILD_DIR=${PWD}/travis_build
|
||||
BUILD_DIR=${PWD}/ci_build
|
||||
export PATH=${BUILD_DIR}/pru-gcc/bin:${PATH}
|
||||
PYTHON=${BUILD_DIR}/python-env/bin/python
|
||||
|
||||
|
||||
######################################################################
|
||||
# Travis CI helpers
|
||||
# Section grouping output message helpers
|
||||
######################################################################
|
||||
|
||||
start_test()
|
|
@ -1,13 +1,13 @@
|
|||
#!/bin/bash
|
||||
# Build setup script for travis-ci.org continuous integration testing.
|
||||
# See travis-build.sh for the actual test steps.
|
||||
# Build setup script for continuous integration testing.
|
||||
# See ci-build.sh for the actual test steps.
|
||||
|
||||
# Stop script early on any error; check variables; be verbose
|
||||
set -eux
|
||||
|
||||
MAIN_DIR=${PWD}
|
||||
BUILD_DIR=${PWD}/travis_build
|
||||
CACHE_DIR=${PWD}/travis_cache
|
||||
BUILD_DIR=${PWD}/ci_build
|
||||
CACHE_DIR=${PWD}/ci_cache
|
||||
mkdir -p ${BUILD_DIR} ${CACHE_DIR}
|
||||
|
||||
|
Loading…
Reference in New Issue