|
|
@ -100,7 +100,7 @@ jobs:
|
|
|
|
- name: Build DFHack
|
|
|
|
- name: Build DFHack
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
ninja -C build-ci install
|
|
|
|
ninja -C build-ci install
|
|
|
|
ccache --max-size 100M
|
|
|
|
ccache --max-size 200M
|
|
|
|
ccache --cleanup
|
|
|
|
ccache --cleanup
|
|
|
|
ccache --show-stats
|
|
|
|
ccache --show-stats
|
|
|
|
- name: Run cpp unit tests
|
|
|
|
- name: Run cpp unit tests
|
|
|
@ -155,6 +155,9 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cd build
|
|
|
|
cd build
|
|
|
|
bash -x build-win64-from-linux.sh
|
|
|
|
bash -x build-win64-from-linux.sh
|
|
|
|
|
|
|
|
ccache -d build/win64-cross/ccache --max-size 200M
|
|
|
|
|
|
|
|
ccache -d build/win64-cross/ccache --cleanup
|
|
|
|
|
|
|
|
ccache -d build/win64-cross/ccache --show-stats
|
|
|
|
- name: Format artifact name
|
|
|
|
- name: Format artifact name
|
|
|
|
id: artifactname
|
|
|
|
id: artifactname
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
@ -182,11 +185,6 @@ jobs:
|
|
|
|
- name: Build docs
|
|
|
|
- name: Build docs
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
sphinx-build -W --keep-going -j auto --color . docs/html
|
|
|
|
sphinx-build -W --keep-going -j auto --color . docs/html
|
|
|
|
- name: Upload docs
|
|
|
|
|
|
|
|
uses: actions/upload-artifact@v1
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
name: docs
|
|
|
|
|
|
|
|
path: docs/html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
@ -195,10 +193,6 @@ jobs:
|
|
|
|
uses: actions/setup-python@v4
|
|
|
|
uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
python-version: 3
|
|
|
|
python-version: 3
|
|
|
|
- name: Set up Ruby 2.7
|
|
|
|
|
|
|
|
uses: ruby/setup-ruby@v1
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
ruby-version: 2.7
|
|
|
|
|
|
|
|
- name: Install Lua
|
|
|
|
- name: Install Lua
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get update
|
|
|
@ -223,10 +217,6 @@ jobs:
|
|
|
|
if: success() || failure()
|
|
|
|
if: success() || failure()
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
python ci/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 ci/script-syntax.py --ext=rb --cmd="ruby -c" --github-actions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
check-pr:
|
|
|
|
check-pr:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|