Commit Graph

29 Commits (36ae738c2443c596325933f560778051a6df87c4)

Author SHA1 Message Date
Dhruv Gramopadhye 94618d4ce1
CI, macOS: Update dead links to libomp in dependency installer
Big Sur -> Ventura
2023-12-05 14:16:27 +02:00
Koen Schmeets e6565c8118
Debug issue with notarization 2023-09-12 21:14:42 +02:00
Tomáš Hübelbauer 36ecb85bb3 Update the issue template to show where to look for SolveSpace version on macOS
macOS SolveSpace has the Help menu but it lacks the About menu item in it and instead the way to find the SolveSpace version is to go to SolveSpace > About SolveSpace. This PR updates the issue template to show that.

I have also replaced the `...` with an ellipsis (`…`) as it IMO looks better (can revert this if it doesn't match the menu item on Windows/Linux) and updated the example version to the current SolveSpace version.
2023-08-14 08:06:57 -04:00
Yusuf Yavuzyigit 88e4d08324 Update test.yml with ubuntu-latest and macos-latest 2023-08-09 13:58:58 +03:00
Yusuf Yavuzyigit 95b00bd888
Fix CI for Ubuntu and MacOS (#1388)
Seems like ubuntu-18.04 and macos-10.15 are no longer hosted by GitHub. Switching to ubuntu-latest (at the time of writing: 22.04) and macos-latest (at the time of writing 12) works.

[GitHub hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)
2023-08-08 18:28:32 +03:00
Koen Schmeets 8117a21d59
Revert legacy snapstore key 2023-01-31 23:45:42 +01:00
Koen Schmeets 10cb310f18
Try to use SNAPCRAFT_STORE_LEGACY_CREDENTIALS for now 2023-01-08 13:06:08 +01:00
Koen Schmeets 1827d154c8
Fix snap release (#1323) 2023-01-08 02:33:15 +03:00
Ryan Pavlik 6951c71785 Add a github action to build flatpaks 2022-07-08 17:26:19 +03:00
Ryan Pavlik c2f65cac12 Fix whitespace and trailing newline in github actions files. 2022-07-08 17:26:19 +03:00
Ryan Pavlik b5333608e9 Stamp source tarballs with the commit hash 2022-07-05 10:06:59 -04:00
Maximilian Federle 6a6fffed0e
CI: Use upstream action to build snap & drop arm64 snap (#1232)
Snapd stopped working in Docker containers in commit
c6011693a8

Therefore, we cannot use the current build action,
which relies on Docker to implement cross-compilation.
Switching to the upstream build action avoids the problem at the cost
of losing the arm64 builds on amd64 hardware.
Those need to be reintroduced by some other mechanism,
e.g. via Launchpad, in the future.

Fixes #1229
2022-04-12 20:12:36 -07:00
Maximilian Federle 43795f5dac CI: Create tarballs with submodules included for releases
Closes #1028
2022-02-06 11:34:05 -05:00
Koen Schmeets 4ad5d42a24 Add missing eigen submodule in some scripts 2021-12-31 14:40:47 -05:00
Koen Schmeets c66e6cbacc Add eigen extlib to install command 2021-12-31 14:40:47 -05:00
Maximilian Federle eb17248bd5 CI: Replace edge releases with links to artifacts
Re-creating the edge release for every push
to master creates many superfluous release notifications.

Stop creating those releases and provide users with direct
links to the workflow artifacts instead via the
nightly.link GitHub app (https://github.com/apps/nightly-link).

Fixes #1103
2021-10-29 16:47:38 -04:00
Maximilian Federle 6bc63e92b0 snap: Fetch tags for snap builds in CI & mention stable channel in README
The snaps use git describe to determine
their grade (stable/devel). Fetch the tags to
make this possible.

Point users to the official release in the stable channel in README.md.
2021-09-03 18:44:21 -04:00
Koen Schmeets 0a3504c30a CI, NFC: Update libomp installation approach on macOS in the GitHub action (#1094) 2021-08-18 13:35:08 +03:00
Maximilian Federle 0e0b0252e2 CI: Never skip cancel_previous_runs
The if condition was nonsensical and did not serve any
practical purpose; removing it allows the succeeding jobs
to run in any case without additional code.
2021-04-18 05:48:36 -04:00
Maximilian Federle f4ad82055e CI: Support cancelling, update actions & prevent draft releases
Allow the workflow to be cancelled without running all remaining jobs.
On invocation of the workflow, cancel concurrent runs of older commits
automatically.

Replace unmaintained release action with recommended alternative.

After much testing, I found that the problem of releases
being created as draft releases can be traced to a
consistency issue/race condition on GitHub's side.
Prevent this by inserting a generous delay between deleting and
re-creating the edge release.
2021-04-09 17:43:31 -04:00
Koen Schmeets a01dd18495 Combine arm64 and x86_64 libomp libraries 2021-04-04 14:46:32 -04:00
Koen Schmeets b8e41c8da9 Correct libomp.dylib path in sign-macos.sh script 2021-04-04 13:27:26 -04:00
Koen Schmeets 8105699d5e Add apple arm64 support 2021-04-04 11:40:10 -04:00
Maximilian Federle d8816863d0 CI: Lock qemu version to known working 2021-03-30 08:14:46 -04:00
app4soft a76e7f2439
Update ISSUE_TEMPLATE.md (#859)
Improve formatting.
2021-01-09 12:41:23 -05:00
Koen Schmeets 681a50db26 Run Test CI for pull requests 2020-12-10 13:09:16 +01:00
Maximilian Federle 5fa23189d9
CI: Replace Travis with GitHub Actions (#824)
Travis's move away from providing unlimited build time to OSS and its
inferior developer experience are the reason for this change.

The workflows are simple and straightforward, and the build scripts
are mostly 1:1 the same we used on Travis. This avoids vendor lock-in
as much as possible in case we need to move somewhere else in the future.

We introduce two workflows:
1. CD (cd.yml)
  Runs on: Commits to master, GitHub releases.
  Does: Run tests, build release assets, update GitHub edge release  or
  release to developer created GitHub release. Builds & uploads snaps to
  the Snap Store.
2. Test (test.yml)
  Runs on: Every commit except those on master and v* tagged ones.
  I.e. PRs and other branches.
  Does: Run tests only.

Creating a release is now an explicit operation. On the Travis workflow,
pushing a tag that begins with "v" will lead to the automatic creation of
an associated GitHub release.
On GHA, creating a GitHub release by hand will trigger the CD-workflow
to build & upload the release assets.

Other differences to Travis:
- Windows builds on Visual Studio 16 2019 instead of Visual Studio 15 2017.
- Snap builds run in docker containers, not directly on the build host.
- Snap arm64 builds on amd64 via QEMU user emulation.
  This is slower than what Travis gave us and should be changed when/if
  GHA offers ARM64 build runners.
- GHA retains build artifacts for 90 days by default.

Required secrets:
- MACOS_CERTIFICATE_PASSWORD
- MACOS_CERTIFICATE_P12
- MACOS_APPSTORE_APP_PASSWORD
- MACOS_APPSTORE_USERNAME
- MACOS_DEVELOPER_ID
- SNAPSTORE_LOGIN

Discussion: https://github.com/solvespace/solvespace/issues/807
PR: https://github.com/solvespace/solvespace/pull/824

Fixes #807
2020-12-08 18:19:33 +01:00
whitequark 060a3280f7 Use HTML comments in issue template.
Many people don't replace all text that should be filled in, which
makes issues harder to read. Make the text at least invisible.
2020-05-21 11:39:37 +00:00
whitequark 626ffeab1f github: add an ISSUE_TEMPLATE file. 2016-12-13 11:44:31 +00:00