Move travis/ scripts to ci/

develop
lethosor 2021-09-05 22:48:41 -04:00
parent f876688a6a
commit 2ac3258ae8
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
10 changed files with 9 additions and 9 deletions

@ -50,7 +50,7 @@ jobs:
- name: Set up environment
id: env_setup
run: |
DF_VERSION="$(sh travis/get-df-version.sh)"
DF_VERSION="$(sh ci/get-df-version.sh)"
echo "::set-output name=df_version::${DF_VERSION}"
echo "DF_VERSION=${DF_VERSION}" >> $GITHUB_ENV
echo "DF_FOLDER=${HOME}/DF/${DF_VERSION}/df_linux" >> $GITHUB_ENV
@ -61,7 +61,7 @@ jobs:
key: ${{ steps.env_setup.outputs.df_version }}
- name: Download DF
run: |
sh travis/download-df.sh
sh ci/download-df.sh
- name: Build DFHack
env:
CC: gcc-${{ matrix.gcc }}
@ -84,8 +84,8 @@ jobs:
run: |
export TERM=dumb
mv "$DF_FOLDER"/dfhack.init-example "$DF_FOLDER"/dfhack.init
script -qe -c "python travis/run-tests.py --headless --keep-status \"$DF_FOLDER\""
python travis/check-rpc.py "$DF_FOLDER/dfhack-rpc.txt"
script -qe -c "python ci/run-tests.py --headless --keep-status \"$DF_FOLDER\""
python ci/check-rpc.py "$DF_FOLDER/dfhack-rpc.txt"
mkdir -p artifacts
cp "$DF_FOLDER/test_status.json" "$DF_FOLDER"/*.log artifacts
- name: Upload test artifacts
@ -147,23 +147,23 @@ jobs:
# don't need tags here
- name: Check whitespace
run: |
python travis/lint.py --github-actions
python ci/lint.py --github-actions
- name: Check Authors.rst
if: success() || failure()
run: |
python travis/authors-rst.py
python ci/authors-rst.py
- name: Check for missing documentation
if: success() || failure()
run: |
python travis/script-docs.py
python ci/script-docs.py
- name: Check Lua syntax
if: success() || failure()
run: |
python travis/script-syntax.py --ext=lua --cmd="luac5.3 -p" --github-actions
python ci/script-syntax.py --ext=lua --cmd="luac5.3 -p" --github-actions
- name: Check Ruby syntax
if: success() || failure()
run: |
python travis/script-syntax.py --ext=rb --cmd="ruby -c" --github-actions
python ci/script-syntax.py --ext=rb --cmd="ruby -c" --github-actions
check-pr:
runs-on: ubuntu-latest