Skip to content

Commit

Permalink
Set the GHA builder to use gcc-12
Browse files Browse the repository at this point in the history
TN: V802-012
  • Loading branch information
setton authored and thvnx committed Aug 2, 2022
1 parent ce501bb commit e2e6f49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ jobs:
- uses: actions/cache@v2
with:
path: ./cached_gnat
key: ${{ runner.os }}-alire-2021
key: ${{ runner.os }}-alire-2022
- name: Get GNAT toolchain with alire
uses: alire-project/setup-alire@v1
with:
toolchain: gnat_native^11 gprbuild^21
toolchain: gnat_native^12 gprbuild^22
toolchain_dir: ./cached_gnat
- name: Setup Python 3.8
uses: actions/setup-python@v2
Expand Down
3 changes: 2 additions & 1 deletion utils/gh-build-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ build_archive()
rm -rf $prefix
cd xmlada*
./configure --prefix=$prefix ${DEBUG:+--enable-build=Debug}
make $LIBRARY_TYPE install-$LIBRARY_TYPE
make $LIBRARY_TYPE install-$LIBRARY_TYPE \
GPRBUILD_OPTIONS="-cargs -gnatwn -gargs"
cd ..

make -C gprbuild prefix=$prefix BUILD=${DEBUG:-production} \
Expand Down

0 comments on commit e2e6f49

Please sign in to comment.