Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/traversal #26

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,18 @@ jobs:
with:
submodules: true

- name: OS information for ${{ matrix.tag }}
uses: mosteo-actions/docker-run@v2
with:
image: ghcr.io/alire-project/docker/gnat:${{matrix.tag}}
command: |
lsb_release -a || \
cat /etc/os-release || \
cat /etc/system-release || \
echo "No lsb_release information"

- name: Run test script (${{ matrix.tag }})
uses: mosteo-actions/docker-run@v1
uses: mosteo-actions/docker-run@v2
with:
image: ghcr.io/alire-project/docker/gnat:${{matrix.tag}}
command: scripts/ci-github.sh
Expand Down
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,9 @@
[submodule "deps/dirty_booleans"]
path = deps/dirty_booleans
url = https://github.com/mosteo/dirty_booleans
[submodule "deps/den"]
path = deps/den
url = https://github.com/mosteo/den
[submodule "deps/cstrings"]
path = deps/cstrings
url = https://github.com/mosteo/cstrings
2 changes: 2 additions & 0 deletions alire.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ with "ada_toml";
with "alire_common";
with "ajunitgen";
with "ansiada";
with "c_strings";
with "clic";
with "den";
with "dirty_booleans";
with "diskflags";
with "gnatcoll";
Expand Down
13 changes: 12 additions & 1 deletion alire.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ aaa = "~0.3.0"
ada_toml = "~0.3"
ajunitgen = "^1.0.1"
ansiada = "^1.0"
c_strings = "^1.0"
clic = "~0.3"
den = "~0.1"
dirty_booleans = "~0.1"
diskflags = "~0.1"
gnatcoll = "^21"
Expand Down Expand Up @@ -48,18 +50,27 @@ windows = { ALIRE_OS = "windows" }

# Some dependencies require precise versions during the development cycle:
[[pins]]

[pins.aaa]
url = "https://github.com/mosteo/aaa"
commit = "dff61d2615cc6332fa6205267bae19b4d044b9da"
commit = "0c3b440ac183c450345d4a67d407785678779aae"

[pins.ada_toml]
url = "https://github.com/mosteo/ada-toml"
commit = "da4e59c382ceb0de6733d571ecbab7ea4919b33d"

[pins.c_strings]
url = "https://github.com/mosteo/cstrings"
commit = "e4d58ad90bf32bc44304197e5906a519f5a9a7bf"

[pins.clic]
url = "https://github.com/alire-project/clic"
commit = "56bbdc008e16996b6f76e443fd0165a240de1b13"

[pins.den]
url = "https://github.com/mosteo/den"
commit = "a277b897c346e1ba326233b654354ff91ab93de0"

[pins.dirty_booleans]
url = "https://github.com/mosteo/dirty_booleans"
commit = "05c40d88ecfe109e575ec8b21dd6ffa2e61df1dc"
Expand Down
2 changes: 2 additions & 0 deletions alr_env.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ aggregate project Alr_Env is
"deps/ajunitgen",
"deps/ansi",
"deps/clic",
"deps/cstrings",
"deps/den",
"deps/dirty_booleans",
"deps/diskflags",
"deps/gnatcoll-slim",
Expand Down
2 changes: 1 addition & 1 deletion deps/aaa
1 change: 1 addition & 0 deletions deps/cstrings
Submodule cstrings added at e4d58a
1 change: 1 addition & 0 deletions deps/den
Submodule den added at a277b8
19 changes: 16 additions & 3 deletions scripts/ci-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ echo GNAT VERSION:
gnatls -v
echo ............................

echo ALR VERSION:
alr version
echo "ALR VERSION (at $(which alr)):"
ls -alF bin
chmod +x bin/alr*
alr -d version || \
alr -vv -d version || \
bin/alr -d version || \
bin/alr.exe -d version || true
echo ............................

# Set up index if not default:
Expand All @@ -61,9 +66,17 @@ if [ "${INDEX:-}" != "" ]; then
alr index --name default --add "$INDEX"
fi

echo "ALR SETTINGS (global):"
alr settings --global

echo ALR SEARCH:
# List releases for the record
alr -q -d search --list --external
alr -q -d search --list --external || \
{
echo "Failed to list releases, retrying verbosely..."
alr -vv -d search --list --external
exit 1;
}
echo ............................

echo TESTSUITE:
Expand Down
Loading
Loading