summaryrefslogtreecommitdiff
path: root/ci
Commit message (Collapse)AuthorAgeFilesLines
* Don’t fail “Collect testdir” job if there is no testdir to collectJoel Rosdahl2021-07-061-1/+1
|
* Reintroduce dev mode and disable problematic build flags in user modeJoel Rosdahl2020-12-061-0/+3
| | | | | | | | | | | | | | In version 3.x, ccache was in “user mode” when building from release archive sources and “dev mode” otherwise. In “dev mode”, additional compiler flags like “-Wextra -Wpedantic -Werror” were added, but they were not present in “user mode” in order not to break end users’ builds. This behavior was partially lost in the conversion to CMake. This commit tries to imitate the previous behavior by introducing a CCACHE_DEV_MODE CMake variable and only enable potentially problematic compiler flags when it’s set to ON. Related to #730.
* Use $GITHUB_PATH to set PATH from install-cudaJoel Rosdahl2020-10-151-1/+1
| | | | | The ::set-env command is deprecated according to <https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/>.
* Run cross-compiled 64-bit MinGW unit tests in WineJoel Rosdahl2020-10-151-3/+11
|
* Simplify source package generationJoel Rosdahl2020-10-011-9/+7
| | | | | | | | | Since it now works to build from “git archive” archives, use such an archive as the official source code release archive instead of using CPack with a custom install script for modifying the source code. We can revisit this in the future when and if we want a source code release archive that is not simply an export of the version-controlled source code.
* Use Ninja when building source and binary packagesJoel Rosdahl2020-08-312-5/+16
| | | | | Ninja builds with relative paths so that ccache can be used to cache the build without resorting to setting base_dir.
* Use proper names for source and binary packagesJoel Rosdahl2020-08-312-13/+5
| | | | | Source package: ccache-$VERSION.tar.xz (and .tar.gz) Binary package: ccache-$VERSION-$OS-$PROCESSOR.tar.xz (or .zip)
* build.yaml: Collect testdir from either build or .Joel Rosdahl2020-08-251-0/+12
| | | | Also fix the name attribute sent to actions/upload-artifact.
* Remove Travis build and related scriptsJoel Rosdahl2020-08-232-30/+1
|
* Rename BUILDEXTRAFLAGS to EXTRA_CMAKE_BUILD_FLAGSJoel Rosdahl2020-08-221-1/+1
|
* build.yaml: Make installation of CUDA actually workJoel Rosdahl2020-08-221-0/+32
|
* ci/build: Make it possible to specify CC for testsJoel Rosdahl2020-08-061-1/+3
|
* Tweak ci/build scriptJoel Rosdahl2020-07-051-7/+4
| | | | | | | - Removed redundant “exit 0” command again. - Removed now obsolete and misleading comments. - If JOBS is set to the empty string then detect the number of CPUs instead of running a limitless number of jobs.
* Pass arguments to ci/build to ctestJoel Rosdahl2020-07-051-1/+1
| | | | | This makes it possible to only run a subset of the tests by for instance running “build-in-docker <name> -R <test>”.
* Run compilation and tests with multiple threads (#610)Alexander Lanin2020-07-051-3/+7
|
* Clean up scripts related to CI and DockerJoel Rosdahl2020-06-233-27/+31
|
* Improve naming of scriptsJoel Rosdahl2020-06-234-1/+30
| | | | | | - Use kebab case consistently. - Remove redundant (and exposing an implementation detail) .sh extension for executables.
* Move top-level scripts to miscJoel Rosdahl2020-06-231-1/+1
| | | | This makes the top-level directory less crowded.
* Switch to CMake (#573)Alexander Lanin2020-06-143-0/+61
Co-authored-by: Cristian Adam <cristian.adam@gmail.com> Co-authored-by: Joel Rosdahl <joel@rosdahl.net>