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
|
- name: Setup cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: travis_cache
|
path: ci_cache
|
||||||
key: ${{ runner.os }}-build-${{ hashFiles('scripts/travis-install.sh') }}
|
key: ${{ runner.os }}-build-${{ hashFiles('scripts/ci-install.sh') }}
|
||||||
|
|
||||||
- name: Prepare tests
|
- name: Prepare tests
|
||||||
run: ./scripts/travis-install.sh
|
run: ./scripts/ci-install.sh
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ./scripts/travis-build.sh 2>&1
|
run: ./scripts/ci-build.sh 2>&1
|
||||||
|
|
||||||
- name: Upload micro-controller data dictionaries
|
- name: Upload micro-controller data dictionaries
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: data-dict
|
name: data-dict
|
||||||
path: travis_build/dict
|
path: ci_build/dict
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Test script for travis-ci.org continuous integration.
|
# Test script for continuous integration.
|
||||||
|
|
||||||
# Stop script early on any error; check variables
|
# Stop script early on any error; check variables
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
# Paths to tools installed by travis-install.sh
|
# Paths to tools installed by ci-install.sh
|
||||||
MAIN_DIR=${PWD}
|
MAIN_DIR=${PWD}
|
||||||
BUILD_DIR=${PWD}/travis_build
|
BUILD_DIR=${PWD}/ci_build
|
||||||
export PATH=${BUILD_DIR}/pru-gcc/bin:${PATH}
|
export PATH=${BUILD_DIR}/pru-gcc/bin:${PATH}
|
||||||
PYTHON=${BUILD_DIR}/python-env/bin/python
|
PYTHON=${BUILD_DIR}/python-env/bin/python
|
||||||
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Travis CI helpers
|
# Section grouping output message helpers
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
start_test()
|
start_test()
|
|
@ -1,13 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Build setup script for travis-ci.org continuous integration testing.
|
# Build setup script for continuous integration testing.
|
||||||
# See travis-build.sh for the actual test steps.
|
# See ci-build.sh for the actual test steps.
|
||||||
|
|
||||||
# Stop script early on any error; check variables; be verbose
|
# Stop script early on any error; check variables; be verbose
|
||||||
set -eux
|
set -eux
|
||||||
|
|
||||||
MAIN_DIR=${PWD}
|
MAIN_DIR=${PWD}
|
||||||
BUILD_DIR=${PWD}/travis_build
|
BUILD_DIR=${PWD}/ci_build
|
||||||
CACHE_DIR=${PWD}/travis_cache
|
CACHE_DIR=${PWD}/ci_cache
|
||||||
mkdir -p ${BUILD_DIR} ${CACHE_DIR}
|
mkdir -p ${BUILD_DIR} ${CACHE_DIR}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue