Commit Graph

127 Commits (bdaf24d9bbd40e3cd7c870ce604ee7e82cf5c9ad)

Author SHA1 Message Date
lethosor b3618810c3
Add ccache stats to build output 2022-06-09 01:24:35 -04:00
lethosor e3f617d98e
build.yml: Force CMake to use ccache
CMake in the Ubuntu 22.04 environment doesn't seem to pick up on ccache
implicitly anymore.
2022-06-09 01:24:34 -04:00
lethosor 698dc56222
GitHub Actions: Upgrade newest matrix entry to Ubuntu 22.04, GCC 12 2022-06-08 21:41:09 -04:00
myk002 f1ebfe9441 key the DF cache on the hash of download-df.sh 2022-06-06 13:49:12 -07:00
Myk 24d2e8e115 Update build.yml 2022-06-06 11:43:41 -07:00
myk002 9c31e4b423 change the key so we no longer match our old cache 2022-06-06 11:43:41 -07:00
myk002 1f6726bb03 namespace the ccache key with the repo and branch 2022-06-06 11:43:41 -07:00
myk002 46f80bed3d
allow ccache to function again 2022-06-05 21:46:24 -07:00
lethosor a646ed7313
Split configure + build into separate steps for more granular timing 2022-05-08 13:56:09 -04:00
Josh Cooper 4439333f58
Adds ccache to build workflow (#2122)
* Adds ccache to build workflow

* Revises ccache actions cache key
2022-05-01 08:55:25 -07:00
lethosor 88f3627ef4
CI: Pass --color to sphinx 2022-05-01 01:04:59 -04:00
lethosor d1f0edd33b
Apply initial pre-commit config 2022-04-12 14:48:19 -04:00
lethosor 22ccf79df6
Fix reference to workflow input param 2022-03-31 23:39:17 -04:00
lethosor 86f2f3404e
Add workflow to re-run Buildmaster builds 2022-03-31 17:09:51 -04:00
Alan 4d5a157f4b
Bump max GCC in GitHub Actions build matrix to 11 (#2062) 2022-03-30 14:48:21 -07:00
lethosor 3a94758916
Pin sphinx to <4.4.0
Pending https://github.com/sphinx-doc/sphinx/issues/10112
2022-01-31 01:23:51 -05:00
lethosor 2471028227
test.lua: Dump some DF globals
This should help identify differences in environments, e.g. what the screen
resolution is in `PRINT_MODE:TEXT`. The `scripts/gui/blueprint:render_labels`
test currently fails in an 80x25 resolution, which implies that our CI is using
something else.
2021-09-28 21:18:50 -04:00
lethosor b7afbf788a
Install libncursesw5 instead of libncursesw6
DF is hardcoded to open libncurses.so.5 first. Both libncurses.so.5 and
libncurses.so.6 on Ubuntu 20.04 appear to have a valid waddnwstr symbol on my
end, but the GitHub Actions environment might be different.
2021-09-17 23:28:41 -04:00
lethosor b1854f251e
Install libncursesw6
In the past week, run-tests.py has started failing due to an ncurses issue on
Ubuntu 20.04, logged to stdout:

```
Didn't find any flavor of libncursesw, attempting libncurses
Symbol not found: waddnwstr
```
2021-09-17 23:28:40 -04:00
lethosor 01077fab0e
Upload test artifacts even if tests fail 2021-09-17 15:29:17 -04:00
lethosor 5dfb633db8
lint.py: add option to only check tracked files 2021-09-06 18:59:08 -04:00
lethosor 2ac3258ae8
Move travis/ scripts to ci/ 2021-09-05 23:08:01 -04:00
lethosor f876688a6a
lint.py: use argparse for argument processing 2021-09-05 23:07:58 -04:00
lethosor 9898d8c871
update-submodules: attempt to fix checkout issue, properly exit on errors
A recent run failed to update luacov, but did not fail the workflow run:

https://github.com/DFHack/dfhack/runs/3298049090?check_suite_focus=true

```
+ git checkout dfhack
error: pathspec 'dfhack' did not match any file(s) known to git
```
2021-08-11 21:36:01 -04:00
lethosor aa1c9e37fd
Revert "Force maximum of Sphinx 3 for now"
This reverts commit 82ca4c35a5.
2021-05-11 19:49:13 -04:00
lethosor 82ca4c35a5
Force maximum of Sphinx 3 for now
See #1851
2021-05-10 00:36:03 -04:00
lethosor 5e7653bbf5
Don't run update-submodules job in forks 2021-03-29 20:03:50 -04:00
Ben Lubar 1fa1501f75
use actual DFHack-Urist noreply email address in workflow 2021-02-22 23:29:28 -06:00
lethosor e2bda663d0
Use auth token to clone repo
This should fix pushing, since DFHack-Urist now has permission to push to develop.
2021-02-19 23:45:51 -05:00
lethosor 24c499c108
Add some more git flags for safety 2021-02-18 23:22:37 -05:00
lethosor 8008243c3a
Configure git name/email 2021-02-18 22:14:05 -05:00
lethosor fa475949f4
Add workflow to auto-update submodules 2021-02-18 22:08:51 -05:00
lethosor 031f2a2feb
Reduce build matrix entries 2020-10-26 01:23:24 -04:00
lethosor a0ff7c393b
Give artifacts a unique name 2020-10-21 20:14:16 -04:00
lethosor 9357c9f888
Only upload test artifacts if tests ran 2020-10-21 20:13:50 -04:00
lethosor 00f012d334
GitHub Actions: add alternative plugin builds 2020-10-21 17:58:17 -04:00
lethosor 61796a0a7b
Replace set-env with new environment file 2020-10-07 20:19:37 -04:00
lethosor c199a2349c
Install libgtk2.0-0 (for Ubuntu 20.04) 2020-10-07 12:25:26 -04:00
lethosor ea931897b9
Replace GCC 9 with GCC 10 on Ubuntu 20.04 2020-10-07 12:04:38 -04:00
lethosor c4da68b3a3
Add GCC 4.8 to build matrix 2020-10-07 11:39:45 -04:00
lethosor 673d1c623f
Give build jobs better names 2020-10-07 11:35:49 -04:00
lethosor 615bb81da6
Add two GCC versions to build matrix 2020-10-07 00:37:35 -04:00
lethosor d850389cde
Adjust sphinx flags 2020-10-07 00:31:32 -04:00
lethosor 73d2a4c9e3
Move docs build to separate job 2020-10-07 00:28:51 -04:00
lethosor 289e0df828
Roll back to actions/checkout v1
v2 uses the wrong commit sometimes: actions/checkout#299
2020-07-27 01:12:14 -04:00
lethosor 512f425c65 Move Contributing.rst to docs/, add GitHub-specific version in .github/ 2020-07-07 23:49:28 -04:00
lethosor 1df7c0be12 Upgrade Ruby 2020-06-30 00:41:02 -04:00
lethosor 504d2ec65b Stop linter steps from stopping each other 2020-06-30 00:35:04 -04:00
lethosor 324bc51540 Upgrade to checkout@v2 2020-06-30 00:34:40 -04:00
lethosor c333059316 Switch CI scripts to Python 3 2020-06-30 00:29:30 -04:00
lethosor fedf68cc7c Annotate script syntax errors 2020-06-30 00:24:03 -04:00
lethosor 6b2887d31b Upgrade to checkout@v2 2020-06-29 23:00:20 -04:00
lethosor c4aebfdf65 Use setup-python 2020-06-29 22:53:05 -04:00
lethosor e26a091b7d Clean up cached DF 2020-06-29 22:52:44 -04:00
lethosor e33a3ffff9 Fix cache key 2020-06-29 22:40:58 -04:00
lethosor 3c702ccf52 Attempt to cache DF 2020-06-29 22:35:36 -04:00
lethosor 0f58d95ea8 Use workflow commands to set up environment variables
https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
2020-06-29 22:02:55 -04:00
lethosor ba12e0c6d4 Remove obsolete travis scripts 2020-04-11 02:33:50 -04:00
lethosor dc598d501a Limit entire check-pr job to PRs only 2020-04-11 02:24:40 -04:00
lethosor dbdd98829f Add check for PR base branch 2020-04-11 02:22:53 -04:00
lethosor b3db62742c Rename workflow to match Travis, update badge 2020-04-11 02:15:57 -04:00
lethosor 6bbda95dd4 Add TERM=dumb back 2020-04-11 01:58:06 -04:00
lethosor cdc82bd7db Run tests within `script` 2020-04-11 01:49:53 -04:00
lethosor 8b7989e93f Try with TERM=xterm to get test output logged to console
It's currently going to stderr.log only
2020-04-11 01:17:43 -04:00
lethosor 023575071a Run tests with TERM=dumb 2020-04-11 00:49:16 -04:00
lethosor ab81b1f06d Avoid running travis commands when starting DF 2020-04-11 00:40:25 -04:00
lethosor 35dbf6cf5f Avoid changing working directory 2020-04-11 00:31:15 -04:00
lethosor 19f84603cd Fix test environment 2020-04-11 00:18:01 -04:00
lethosor d2ba91e2cd Run tests 2020-04-11 00:10:28 -04:00
lethosor 0d4572e40a Build DFHack 2020-04-10 23:56:28 -04:00
lethosor 1ebad37c2c Attempt to fix DF installation 2020-04-10 23:53:12 -04:00
lethosor 9a7c07b42b Clone the repo 2020-04-10 23:47:47 -04:00
lethosor daad14ee66 Implement linting checks 2020-04-10 23:46:30 -04:00
lethosor 385aa0877d Checkout submodules too 2020-04-10 23:38:32 -04:00
lethosor d72c395660 Merge into one job 2020-04-10 23:33:06 -04:00
lethosor 6c9e3909fd Run apt-get update first 2020-04-06 20:00:10 -04:00
lethosor f4dc5e8277 Add an initial build workflow 2020-04-06 19:57:20 -04:00