Ralf Gommers
8613632dc5
Trigger AWS Graviton 3 CI job only for develop and release branches
2023-11-10 16:34:47 +01:00
Ralf Gommers
2418a20f1f
Cancel running CI jobs when new changes are pushed to a PR
...
The `group` expression ensures that the cancel-in-progress
behavior is to only cancel if a new commit is pushed to the PR for
which the job is running, not other PRs.
This is a fairly standard snippet, used also in CI jobs for NumPy
and other projects.
2023-11-10 16:34:47 +01:00
Ralf Gommers
1d4ed20c2f
Add conditions to all CI jobs to only run on main repo by default
...
This is a follow-up to gh-4271. At the moment, when a contributor
pushes the latest `develop` to their own branch to bring their own
fork in sync with `main`, or if they push another branch, this triggers
30 CI jobs to run. Most will complete silently and only burn CPU
time unnecessarily. If there's a failure, this may result in unexpected
failure notifications. And the AWS Graviton3 run won't complete at all
and time out, since the Cirun hook will only work when triggered from
the main repo.
2023-11-10 16:34:47 +01:00
Ralf Gommers
6b8379d6d9
Run nightly Homebrew cron job only on the main repo, not on forks
...
I noticed this because GitHub emailed me that it would disable the
nightly job because it hadn't changed for 3 months. It currently takes
30-50 minutes daily, and by default runs on all forks of the main
repository that have the relevant workflow yaml file. That serves little
purpose and wastes quite a bit of energy - so disable the runs outside
of the main repo.
This will not disable the runs on forks already made in the past that
contain this workflow file, but it does save 3 months worth of runs on
every new fork that is created.
[skip ci]
2023-10-19 11:38:26 +02:00
Martin Kroeker
f8c230c21c
Switch MINGW-W64 jobs to UCRT
2023-10-18 11:58:54 +02:00
gxw
211bb35dee
gh-actions: Adding DYNAMIC_ARCH test for LoongArch64
2023-09-27 11:08:03 +08:00
Martin Kroeker
bb90b6dfcd
Merge pull request #4157 from steppi/cirun
...
Set up arm64 graviton CI using cirun
2023-09-21 07:28:40 +02:00
Martin Kroeker
ef4a7e3fca
Merge pull request #4127 from XiWeiGu/LoongArch64-CI
...
LoongArch64 CI
2023-08-05 18:19:47 +02:00
Markus Mützel
53378296c8
CI: Build with NO_AVX512 for the runners that use Flang 16.
2023-08-05 13:47:38 +02:00
Markus Mützel
1c3fcaaf42
CI (MSYS2): Re-run failed tests verbosely.
2023-08-05 13:16:06 +02:00
Markus Mützel
f334bd9041
CI (MSYS2): Use LLVM Flang on CLANG64 runners. Add CLANG32 runner.
2023-08-05 13:16:06 +02:00
gxw
96bf226bca
gh-actions: Add loongarch64 CI
2023-08-05 10:21:43 +08:00
steppi
7c8ea130a3
Set up cirun workflow for arm64 graviton
2023-07-24 16:18:57 -04:00
Martin Kroeker
a98c292a91
Merge pull request #4024 from Rabenda/add-c910v-ci
...
CI (C910V): add test
2023-06-18 20:29:25 +02:00
Martin Kroeker
e09055330e
run apt-get update before fetching cross-compilers
2023-05-25 14:14:17 +02:00
Han Gao
7b16c4c051
CI (C910V): add test
...
Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
2023-04-28 04:32:06 +00:00
Markus Mützel
e27e9a50b1
CI (MSYS2): Save ccache before running tests.
2023-04-21 14:10:40 +02:00
Markus Mützel
67d33e5b98
CI (MSYS2): Update location of compiler cache.
2023-04-21 13:02:23 +02:00
Martin Kroeker
c718de14c5
Update nightly-Homebrew-build.yml
...
add NO_INSTALL_FROM_API to re-enable --HEAD
2023-02-02 09:42:11 +01:00
Martin Kroeker
5be8b43fa9
Disable dependents check to avoid python 3.11 conflict
2023-01-04 16:56:38 +01:00
Martin Kroeker
da028179e4
try libtinfo5 rather than libtinfo-devel
2022-12-19 22:53:53 +01:00
Martin Kroeker
4d9d810b98
ensure libtinfo is available for Linux/flang
2022-12-19 22:31:54 +01:00
Alex
c726604319
build: harden dynamic_arch.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-26 13:48:11 +02:00
Alex
4de8e1b8f9
build: harden mips64.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-26 13:47:15 +02:00
Alex
11cd108095
build: harden nightly-Homebrew-build.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-26 13:46:34 +02:00
gxw
548a11b9d9
[WIP,Testing]: Add test for mips64
2022-09-16 09:23:01 +08:00
Martin Kroeker
93a6e5fe30
Merge pull request #3750 from mmuetzel/ci-msys2
...
CI (MSYS2): Configure with `-DCMAKE_BUILD_TYPE=Release`.
2022-09-02 14:47:16 +02:00
Martin Kroeker
41e51dbc1b
add target for mips xbuild
2022-09-02 13:07:51 +02:00
Markus Mützel
c4d7ce3384
CI (MSYS2): Add one runner with `-DCMAKE_BUILD_TYPE=None`.
2022-09-01 18:08:39 +02:00
Markus Mützel
594ceeceda
CI (MSYS2): Configure with `-DCMAKE_BUILD_TYPE=Release`.
2022-09-01 14:35:12 +02:00
Jiaxun Yang
1569a43f7e
GitHub Actions: Add cross compile tests
...
Add cross compile tests without running checks. Currently
only mips64el, riscv64, mipsel, alpha is wired up.
Just help us make sure those less popular CPUs are not
messed up by changes.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2022-08-11 15:01:34 +01:00
Markus Mützel
430bea00ba
Adapt commands for tests with GNU make.
2022-04-11 11:45:05 +02:00
Markus Mützel
2aa8086bdd
Consolidate actions on GitHub runners.
...
Re-organize build matrix for Ubuntu and MacOS runners.
Don't start runners that don't do anything.
Run tests.
2022-04-09 18:46:27 +02:00
Markus Mützel
67714aea71
Add action for MSYS2 builds.
2022-03-31 11:07:18 +02:00
Martin Kroeker
8c25b440a0
revert "try to work around gcc update problems"
...
...as homebrew has dropped at least gcc8 now
2021-06-06 19:17:36 +02:00
Martin Kroeker
da8d7f09f1
try to work around gcc update problems
2021-01-13 09:46:53 +01:00
Leonard Lausen
4cb1db0e3b
Test flang build
2020-06-09 06:31:17 +00:00
Martin Kroeker
a8f42ae85c
set cmake build type to Release
2020-06-03 15:28:59 +02:00
Martin Kroeker
e153bdeb70
Update dynamic_arch.yml
2020-06-03 13:46:43 +02:00
Martin Kroeker
c2001f7756
Make cmake build verbose to see options in use
2020-06-03 12:18:15 +02:00
Leonard Lausen
5a709b8340
Print CPU info in output
2020-06-01 20:51:11 +00:00
Leonard Lausen
b31a68b835
Add Github Actions test for DYNAMIC_ARCH builds
2020-06-01 20:16:59 +00:00
Martin Kroeker
f80dd2151e
xcode 11.4.1 for homebrew ?
2020-04-23 14:31:09 +02:00
Martin Kroeker
4412ee1754
Switch homebrew build env to new xcode 11.4
...
default 11.3.1 in the github image is causing brew to fail with "outdated xcode" message
2020-04-23 10:54:46 +02:00
Izaak Beekman
1a88c4ab26
Fix bottle upload problem & typo
2020-02-17 13:36:17 -05:00
Izaak Beekman
0b44802164
Test push & PRs only when workflow file changes
...
Also, add comments to clarify what the test is testing
2020-02-17 13:22:09 -05:00
Izaak Beekman
2c242b4cef
Add Github Action to build development branch nightly with Homebrew
2020-02-17 12:36:37 -05:00