Skip to content

Commit

Permalink
workflows bugfix print compiler version
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 9, 2024
1 parent a5f217e commit 28f4514
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-qt6-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
# it works but doesn't work using the GITHUB_PATH like define two line above. 🫤
echo "CMAKE_PREFIX_PATH=/opt/Qt/$TINY_QT_VERSION/$TinyQtSpecPlain${CMAKE_PREFIX_PATH:+:}$CMAKE_PREFIX_PATH" >> $GITHUB_ENV
- name: Compiler print version (${{ matrix.compiler.name }})
- name: Compiler print version (${{ matrix.compiler.command }})
run: |
${{ matrix.compiler.command }} --version
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/linux-qt6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ jobs:
name: clang18
apt: [ clang-18, lld-18 ]
command: clang++-18
linker-command: ld.lld

# Don't upgrade to v13 or v14 to test also older g++ versions
- key: gcc
name: gcc12
apt: [ g++-12 ]
command: g++-12
linker-command: ld

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -628,13 +630,13 @@ jobs:
echo 'VCPKG_DEFAULT_TRIPLET=x64-linux-dynamic' >> $GITHUB_ENV
echo "VCPKG_MAX_CONCURRENCY=$TinyParallelVcpkg" >> $GITHUB_ENV
- name: Compiler print version (${{ matrix.compiler.name }})
- name: Compiler print version (${{ matrix.compiler.command }})
run: |
${{ matrix.compiler.command }} --version
- name: Linker print version (ld)
- name: Linker print version (${{ matrix.compiler.linker-command }})
run: |
ld --version
${{ matrix.compiler.linker-command }} --version
- name: CMake print version
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/msys2-ucrt64-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,12 @@ jobs:
Get-Date -Format 'yyyyMMdd' > "$env:RUNNER_WORKSPACE/.vcpkg_upgraded_at"
- name: Compiler print version (${{ matrix.compiler.name }})
- name: Compiler print version (${{ matrix.compiler.command }})
shell: msys2 {0}
run: |
${{ matrix.compiler.command }} --version
# On MSYS2 is the lld linker used for both g++ and also clang++
- name: Linker print version (ldd.exe)
shell: msys2 {0}
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/msys2-ucrt64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,11 +364,12 @@ jobs:
echo 'VCPKG_DEFAULT_HOST_TRIPLET=x64-mingw-dynamic' >> $GITHUB_ENV
echo "VCPKG_MAX_CONCURRENCY=$TinyParallelVcpkg" >> $GITHUB_ENV
- name: Compiler print version (${{ matrix.compiler.name }})
- name: Compiler print version (${{ matrix.compiler.command }})
shell: msys2 {0}
run: |
${{ matrix.compiler.command }} --version
# On MSYS2 is the lld linker used for both g++ and also clang++
- name: Linker print version (ldd.exe)
shell: msys2 {0}
run: |
Expand Down

0 comments on commit 28f4514

Please sign in to comment.