47 Commits

Author SHA1 Message Date
Elie Richa
01c319f809 Support more architectures and platforms in VS Code
* Change executable location to <arch>/<platform>/
* Add 'arm64' as a supported architecture
* Add initialization code that checks specific combinations of
  architectures and platforms (e.g. arm64-darwin is supported even
  though it actually uses the x64-darwin executable)
2023-07-10 19:01:47 +02:00
Maxim Reznik
d8e492f654 Update GitHub scripts to use lal-refactor repo
Also disable CI for PR, because it doesn't work for external PR
for security reasons and we don't do internal PR on GitHub any more.
2023-06-30 19:23:26 +03:00
Max Reznik
edfbe00162 Fix pack-binaries.sh
Delete `.dSYM` debug information directory on Mac OS X.
2023-06-13 12:52:45 +00:00
Elie Richa
590a07c7bb Improve GitHub build script for local debugging 2023-06-09 13:15:04 +00:00
Maxim Reznik
7b4a57cf72 W601-014 Avoid TRAVIS_TAG usage.
We don't use Travis CI any more, so ALS version isn't set.
In GitHub CI script let's use a tag instead.
2023-06-08 05:11:44 +00:00
Maxim Reznik
534d0389c2 Add documentation about getting symbolic backtrace.
Fix `pack-binaries.sh` to avoid `.dSYM` in `.vsix`.
Closes #1135.
2023-06-08 05:11:44 +00:00
Anthony Leonardo Gracio
da0167c96b Merge remote-tracking branch 'origin/edge' 2023-06-05 13:27:01 +00:00
Elie Richa
ad7b5cc2d0 Fix the build script to avoid unusable binaries on macOS 2023-06-02 20:54:24 +02:00
automatic-merge
2c3403f13d Merge remote branch 'origin/master' into edge 2023-05-24 00:55:57 +00:00
Maxim Reznik
7fffb9b78e Strip debug info into separate .debug files
On GitHub CI, build ALS dependencies with debug information in
`prod` mode. Extract debug information into `.debug` files
and put them into released packages on GitHub Release.

Closes #1135
2023-05-23 07:27:23 +00:00
Abdellah Belaid
3b11b25d18 fix-vsix-packaging
Refs #1136
2023-05-18 12:52:44 +03:00
Max Reznik
2a6b522bd0 Use --sort option to fetch latest tags
during making of `CHANGELOG.md`. Otherwise we always get 23.0.9
on the top of the list.
2023-03-28 11:56:57 +00:00
Max Reznik
53eb118f22 W212-002 Update GitHub Actions 2023-02-17 20:30:03 +00:00
Maxim Reznik
a399ee3dc5 Drop development builds and releases.
Stop building ALS in `debug` mode. Stop releasing the extension
with debug information, because they are not used and confuses
VS Code users.

Also fix mounting `/opt` on Windows.
2022-12-23 11:37:14 +02:00
Maxim Reznik
0e1f8f78da VB28-039 Update Ubuntu and Mac OS X on GitHub CI
because they are deprecated. Drop `libgpr2` building,
because `libgpr2` is deployed with `libadalang` binaries as a dependency.
2022-11-30 16:20:00 +02:00
Maxim Reznik
83a9006a71 Use edge branch of gnatdoc for GHA CI. 2022-09-06 16:45:33 +03:00
Maxim Reznik
914a561cce Set the GHA builder to use gcc-12
V802-012
2022-08-02 18:36:37 +03:00
Maxim Reznik
a87f1a6e13 Create a release and upload binaries as assets
Fix #1000
2022-07-20 15:15:08 +03:00
Maxim Reznik
3bbb0221b4 Revert "UC15-036 Add gpr-unit-provider dependency"
This reverts commit 5f888a060d.
2022-06-20 13:49:49 +03:00
Maxim Reznik
5f888a060d UC15-036 Add gpr-unit-provider dependency 2022-06-19 11:57:26 +03:00
Maxim Reznik
00e780279f Minor fixes
* Copy LICENSE file, so anod build script use it on packaging `.vsix`
* Move list of supported request to a WiKi page to have shorten
  README.md
* Add more README.md files for "Code Samples"
* Put link to refactoring tools into README.md
* Add missing dependencies to the list (gnatdoc, libgpr2)
* Don't highlight ghost-code/aspects as comments by default, because it
  confuses some people
2022-06-07 16:42:03 +03:00
Maxim Reznik
5fe26fd96c Bundle vscode extension on publishing
Install esbuild and use it before packaging vscode extension
to reduce number of packaged files, speed extension up.

This fixes warnings on `vsce publish` and `vsce package`.

According to the guide:
https://code.visualstudio.com/api/working-with-extensions/bundling-extension
2022-05-18 14:37:17 +03:00
Maxim Reznik
89daa184dc Refetch tags from origin to fix CHANGELOG.md generation
Since `23.0.4` CHANGELOG.md isn't generated correctly,
it misses the last tag entry. The investigation shows that
GitHub Action checkout SHA for the tag, but not the tag annotation.

For instance:
```
git rev-parse refs/tags/23.0.5
05ea548d65

git fetch --no-tags origin +de660fc7f50123e22a82b9363e095accd834c6c9:refs/tags/23.0.5

git rev-parse refs/tags/23.0.5
de660fc7f5
```

So `de660fc` replaces `05ea548d` in tag `23.0.5`.

We drop the tag and fetch all tags from the origin again.
2022-05-02 18:16:21 +03:00
Maxim Reznik
fb2ffdbaca Fix libgpr2 building in GitHub Action CI.
See 4731f58 commit in gpr repo or V420-024
2022-04-21 15:23:11 +03:00
Vadim Godunko
fceae4e97b V331-019 Import GNATdoc source to build ALS 2022-04-12 11:36:16 +03:00