Commit Graph

211 Commits (8cffe3bc8756de8e7f41479bd53b0c2a6c8ecc45)

Author SHA1 Message Date
Myk Taylor cf0b87fbc4
Revert "always build launchdf"
This reverts commit a509bb5e61.
2023-07-31 04:02:12 -07:00
Myk Taylor e3a8009717
initial draft of automated github release 2023-07-31 03:56:26 -07:00
Myk Taylor bbe7dbb0b8
build with gcc 10 by default 2023-07-31 03:56:11 -07:00
Myk Taylor 52a478d1d7
rename steam workflow file 2023-07-31 03:03:25 -07:00
Myk Taylor a509bb5e61
always build launchdf 2023-07-31 03:01:11 -07:00
Myk Taylor 737ff8b3ab
more cache tuning 2023-07-31 02:50:32 -07:00
Myk Taylor 5c664fca1c
reuse workflows for steam 2023-07-31 01:49:02 -07:00
Myk Taylor 1fad6d76f1
split linux package out to simplify matrix 2023-07-31 00:05:47 -07:00
Myk Taylor b6ececed2d
another clcache attempt 2023-07-30 23:50:47 -07:00
Myk Taylor a0fae55c90
fix windows clcache path 2023-07-30 21:39:39 -07:00
Myk Taylor 0364557533
actually use the new windows workflow 2023-07-30 21:04:52 -07:00
Myk Taylor 2bb972ff77
fix home ref 2023-07-30 20:52:07 -07:00
Myk Taylor 872720740a
attempt to get windows build reusable 2023-07-30 20:47:59 -07:00
Myk Taylor 0b2877a538
fixups 2023-07-30 19:53:46 -07:00
Myk Taylor 1faf156bfc
first attempt at a reusable workflow 2023-07-30 19:36:12 -07:00
Myk Taylor 7514dd2cba
name stage 2023-07-30 16:58:27 -07:00
Myk Taylor 1d356bf351
fix artifact name 2023-07-30 16:45:01 -07:00
Myk 37357da64b
add clcache 2023-07-30 16:38:42 -07:00
Myk Taylor c797e5b2d2
poke at a native windows build and see what happens 2023-07-30 16:38:37 -07:00
Myk Taylor f65112f871
give test actions their own cache namespace
since they build a different subset from the package actions
2023-07-29 01:03:29 -07:00
Myk Taylor 88a46a1b5b
build Release profile for Linux 2023-07-29 00:48:17 -07:00
Myk Taylor ac633da050
de-duplicate stonesense resources 2023-07-29 00:35:12 -07:00
Myk Taylor c11740d439
update dfhack launcher script 2023-07-28 19:50:28 -07:00
Myk Taylor ec887aab2f
build stonesense in the linux package 2023-07-28 19:33:31 -07:00
Myk Taylor a27f42d67d
split common files into their own depot 2023-07-28 19:12:58 -07:00
Myk Taylor c67e0da250
take advantage of cache scoping rules to simplify names 2023-07-28 16:58:23 -07:00
Myk Taylor 73427de994
build with gcc-10 for better system compat 2023-07-28 16:16:36 -07:00
Myk Taylor 1ca2b6b67e
alphebetize 2023-07-27 23:19:16 -07:00
Myk Taylor be98d4934e
add gl headers for allegro 2023-07-23 11:06:48 -07:00
Myk Taylor 4411361b93
Revert "don't build stonesense for now"
This reverts commit 0f14be32de.
2023-07-23 11:00:44 -07:00
Myk Taylor b8e5dd18fb
add linux build artifact 2023-07-23 03:19:28 -07:00
Myk Taylor 0f14be32de
don't build stonesense for now 2023-07-23 01:24:17 -07:00
Myk Taylor 8ec860461a
deploy linux build to steam 2023-07-22 22:54:21 -07:00
Myk Taylor ab50b140d2
remove args no longer used in v3 2023-07-17 17:36:11 -07:00
Myk Taylor 7ee3c6d0a5
update steam-deploy to v3 2023-07-17 13:46:54 -07:00
Myk Taylor 92ac010dcd
revert the cache key name for matrix builds
we're well past the cache migration where that was necessary
2023-06-08 13:44:09 -07:00
Myk Taylor c3326d11fa
ensure the cache key is unique to the sha 2023-06-08 13:35:29 -07:00
Myk Taylor 6c9c44c71a
"develop" works as a ref; makes good default 2023-05-21 10:34:17 -07:00
Myk Taylor b2102d66fa
check out repo directly in steam dir
so we don't bork the rest of depends
2023-05-18 16:16:24 -07:00
Myk Taylor 0962180981
attempting as an ssh-key instead of a token 2023-05-18 15:10:15 -07:00
Myk Taylor b6ee0d5c02
follow advice in actions/checkout#664 2023-05-18 15:00:41 -07:00
Myk Taylor 14bbff8537
secrets can't be accessed from PRs; remove from build action 2023-05-18 14:39:49 -07:00
Myk Taylor 1212ee0ef8
retrieve steam SDK from a private repo 2023-05-18 14:35:43 -07:00
Myk Taylor ffe8de1292
clean caches in root context, not the PR 2023-05-17 11:10:20 -07:00
Myk Taylor de2e29a2e3
add github action to clean up PR caches after merge 2023-05-17 02:38:08 -07:00
Myk Taylor 7aa5692fef
reduce linux ccache size; fix msvc ccache path 2023-04-29 23:46:06 -07:00
Myk Taylor 17a423bcd2
ensure msvc builds have ccache 2023-04-29 23:31:44 -07:00
Myk Taylor b69aff4d6e
reduce cache for msvc builds too; remove ruby 2023-04-29 23:19:02 -07:00
Myk Taylor ffa9f79f94
rightsize ccache, protect steam sdk from eviction 2023-04-29 22:30:42 -07:00
Myk Taylor ba06a8f2bb
dump input vars in deploy output 2023-04-26 13:36:40 -07:00
Kelly Kinkade 17a798d5bc add missing letter 2023-04-25 16:06:36 -05:00
Kelly Kinkade 68a8c687ea steam build workflow improvements
improve cmake handling for downloading the sdk

set up GHA to cache the SDK download
2023-04-25 16:02:15 -05:00
Kelly Kinkade acc408c168 change sdk download secret 2023-04-18 22:27:49 -05:00
Kelly Kinkade 04dc3d8f31 make release channel parameter optional 2023-04-18 22:27:49 -05:00
Kelly Kinkade 337c5eea2a changes to build process for dflaunch
only build dflaunch on steam-specific builds
only download steamworks SDK when building dflaunch
get steam account from environment when downloading steamworks SDK
2023-04-18 22:27:49 -05:00
Myk Taylor 95e796abb4
update python build action to non-deprecated version 2023-04-10 00:14:30 -07:00
Myk Taylor 787844e8e6
fix ccache restore key 2023-03-07 22:27:50 -08:00
Myk Taylor 980f673454
fix depot file path 2023-03-07 17:34:44 -08:00
Myk Taylor fccd4cdec5
add steam deploy workflow 2023-03-07 17:13:41 -08:00
Myk Taylor 1bf79afd54
ditch gcc 4.8 and 7, replace with 10 2023-03-06 15:29:11 -08:00
Myk Taylor 363a3d484e
fix matrix build? 2023-03-06 15:23:45 -08:00
Myk Taylor 3569f7e687
update ruby action 2023-03-06 15:22:15 -08:00
Myk Taylor 1c36031073
update all build envs to ubuntu-22.04 2023-03-06 15:18:06 -08:00
Kelvie Wong 1e904cfc11 GHA: use declarative env
Rather than calling `env` as part of the commandline.
2023-02-03 14:09:59 -08:00
Kelvie Wong cddcf7850d cross compile: build stonesense as well 2023-02-03 09:27:18 -08:00
Kelvie Wong 5227d29f1f Use GHA caching with ccache 2023-01-24 19:55:15 -08:00
Kelvie Wong a496f88a29 Change $GITHUB_REF to HEAD
GITHUB_REF apparently doesn't work in PR builds.
2023-01-24 19:55:15 -08:00
Kelvie Wong a72b26c4f2 GHA: Add win64 cross compile build
This also removes -t from docker run, as we don't actually require a
terminal, this was just muscle memory.

This also archives the artifacts for testing.
2023-01-24 19:55:15 -08:00
Myk Taylor 0953982cfa remove DF download and tests for v50
revert when there is something to download and test
2022-12-16 03:28:42 -06:00
Myk Taylor c13b3175fc
update cache runner to v3 2022-12-11 10:39:26 -08:00
Myk Taylor f5f99f65e8
migrate usage of set-output (required by github)
as per https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-12-11 10:33:47 -08:00
myk002 a22e3117d3
simplify the github action to just ninja test
since ninja all was just run
2022-11-28 17:22:17 -08:00
myk002 ae035d5836
simplify unit testing setup 2022-11-28 17:16:48 -08:00
Josh Cooper b11b1c3d5f Updates build.yml & moves TEST variable setup 2022-11-25 09:43:04 -08:00
Josh Cooper d03f93c0d7 Adds a second test stage 2022-11-25 09:43:04 -08:00
Josh Cooper a716b2796e Updates test binary name in build.yml 2022-11-25 09:43:04 -08:00
Josh Cooper 69d988332c Updates build.yml to call test-all 2022-11-25 09:43:04 -08:00
Josh Cooper 3e2d0f2ec2 Updates GithubActions yml file to use new BUILD_TESTING variable 2022-11-25 09:43:04 -08:00
myk002 df9c37a8b7
Merge branch 'develop' into docs 2022-08-15 17:09:36 -07:00
myk002 06f1f533ac build the skeleton in the "all plugins" build 2022-08-15 16:15:41 -07:00
Myk f1cb9b9a83
Build and install text help alongside html (#2236)
* build text docs alongside html

also:
- capture more doc dependencies that should cause rebuilds
- move intermediate build output (doctree data) into build dir
- allow sphinx build to multitask more for faster completion times

* install text help alongside html help

* update settings in docs build action
2022-07-10 20:14:20 -07:00
Myk 28e15162a5
reorganize init scripts into dfhack-config (#2232)
* reorganize init scripts into dfhack-config

allows player init scripts to build on defaults instead of replace them
this also moves the init scripts out of the main df directory

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* escape asterisks in docs

* remove unneeded dfhack.init file creation for test

* write the test init script to the new init dir

* create the init dir before trying to write a file

* rename default init files for clarity

* Update changelog

* Update docs/changelog.txt

Co-authored-by: Alan <lethosor@users.noreply.github.com>

* Try to get buildmaster to work with old branches

* Update changelog

* get keybindings from all init scripts

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix spacing in changelog

* split default loading into its own file

* update docs with new changes

* update help text wording in default init files

* Apply suggestions from code review

Co-authored-by: Alan <lethosor@users.noreply.github.com>

* Alphabetize changelog

* Update onMapLoad.default.init

* Update onMapLoad.init

* Update Core.rst

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alan <lethosor@users.noreply.github.com>
2022-07-10 08:54:55 -07:00
Myk d12134d326
check for files, not md5 receipt in download-df.sh (#2196) 2022-06-09 11:21:14 -07:00
lethosor 078256cc2a
Remove GCC 11 from build matrix 2022-06-09 01:35:55 -04:00
lethosor fbdeba6216
Force consistent ccache cache directory
This changed to use ~/.cache/ccache instead of ~/.ccache in ccache 4.

Squashed: fixed to expand `$HOME` in a shell, because `~` in an `env:` block
does not get expanded.
2022-06-09 01:34:54 -04:00
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