File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 49
49
# set up uv for faster Python package management
50
50
- name : Install the latest version of uv
51
51
uses : astral-sh/setup-uv@v5
52
+ # explicitly set CC and CXX for Ubuntu ARM runners to work around an issue
53
+ # where CXX would wrongfully be set to an x86_64 compiler.
54
+ - name : Set CC and CXX for ARM
55
+ if : ${{ runner.os }} == 'Linux' && ${{ runner.arch }} == 'ARM64'
56
+ run : |
57
+ echo "CC=gcc" >> $GITHUB_ENV
58
+ echo "CXX=g++" >> $GITHUB_ENV
52
59
# run the nox minimums session (assumes a nox session named "minimums" exists) with coverage
53
60
- name : 🐍 Test with minimal versions
54
61
run : uvx nox -s minimums --verbose -- --cov --cov-report=xml:coverage-${{ inputs.runs-on }}.xml --cov-append
Original file line number Diff line number Diff line change 55
55
- name : Install uv
56
56
uses : astral-sh/setup-uv@v5
57
57
58
+ # Explicitly set CC and CXX for Ubuntu ARM runners to work around an issue
59
+ # where CXX would wrongfully be set to an x86_64 compiler.
60
+ - name : Set CC and CXX for ARM
61
+ if : ${{ runner.os }} == 'Linux' && ${{ runner.arch }} == 'ARM64'
62
+ run : |
63
+ echo "CC=gcc" >> $GITHUB_ENV
64
+ echo "CXX=g++" >> $GITHUB_ENV
65
+
58
66
# Run the nox qiskit session
59
67
- name : Test against latest Qiskit
60
68
run : uvx nox -s qiskit --verbose
You can’t perform that action at this time.
0 commit comments