forked from AdaCore/ada_language_server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename release archive to include version and product name.
Also * use Alire 2.0.2 * fix `pip install` error on istalling libadalang dependencies. Refs * AdaCore#1212 * AdaCore#1213 Fixes ada_language_server#1471
- Loading branch information
Showing
3 changed files
with
7 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,20 +43,16 @@ jobs: | |
- name: Get GNAT toolchain with alire | ||
shell: bash | ||
run: | | ||
# alire-project/setup-alire doesn't work for ARM64 Mac OS X for now. | ||
# https://github.com/alire-project/setup-alire/pull/74 | ||
# Also it depends on `engineerd/[email protected]` not approved by IT. | ||
# https://github.com/alire-project/setup-alire/issues/75 | ||
# So we fetch Alire with curl then toolchain with Alire. | ||
# alire-project/setup-alire works for ARM64 Mac OS X now. Shall we use it? | ||
if [[ "$RUNNER_ARCH" == ARM64 ]] ; then | ||
ZIP=nightly/alr-nightly-bin-aarch64-macos.zip | ||
ZIP=v2.0.2/alr-2.0.2-bin-aarch64-${RUNNER_OS}.zip | ||
else | ||
ZIP=v2.0.1/alr-2.0.1-bin-x86_64-${RUNNER_OS}.zip | ||
ZIP=v2.0.2/alr-2.0.2-bin-x86_64-${RUNNER_OS}.zip | ||
fi | ||
curl -L -O https://github.com/alire-project/alire/releases/download/$ZIP | ||
unzip $(basename $ZIP) | ||
bin/alr index --reset-community | ||
bin/alr toolchain --select gnat_native^14 gprbuild | ||
bin/alr toolchain --select gnat_native gprbuild | ||
echo $PWD/bin >> $GITHUB_PATH | ||
- name: Get cross GNAT toolchain (Linux) | ||
if: ${{ runner.os == 'Linux' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters