Skip to content

Commit

Permalink
Fix toolchain workflow to ensure use of intended toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Jun 23, 2024
1 parent f17ca26 commit c4078fa
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ jobs:

# We can start using the alr we just built

- name: Select toolchain GNAT^${{matrix.gcc_version}}
run: ./bin/alr -d -n toolchain --select gnat_native^${{matrix.gcc_version}} gprbuild

- name: Show builder alr configuration
run: ./bin/alr -d -n version

- name: Update dependencies
run: ./bin/alr -d -n update

Expand All @@ -67,6 +73,10 @@ jobs:
- name: Show built version
run: ./bin/alr -d -n version

- name: Verify proper toolchain used for build
shell: bash
run: ./bin/alr -d -n printenv | grep 'compiled with version' | grep -q '${{ matrix.gcc_version }}'

# Run the testsuite with the just build alr. The testsuite picks the proper
# alr in the ./bin/alr location.

Expand Down

0 comments on commit c4078fa

Please sign in to comment.