Skip to content

Commit

Permalink
ci: fix build call
Browse files Browse the repository at this point in the history
Use -pr instead of -pr:a.
This will use the profile as the host profile(target machine)
instead of using this for both the (the one who) build and the host.
Which SHOULD trigger a mismatch error when the build compiler cannot support the
host compiler.
  • Loading branch information
branylagaffe committed May 2, 2024
1 parent 15e028e commit d254869
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/00-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ on:
# schedule:
# # Every Wednesday at midnight
# - cron: '0 0 * * 3'
#
#

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -48,5 +49,8 @@ jobs:
- name: Install conan
run: pip install conan

- name: Detect current environmment profile
run: conan profile detect --force

- name: Build
run: conan build . -pr:a target/_profile/${{ matrix.build_type }} -b missing --name=${{ matrix.binaries }} -of ./build
run: conan build . -pr target/_profile/${{ matrix.build_type }} -b missing --name=${{ matrix.binaries }} -of ./build

0 comments on commit d254869

Please sign in to comment.