-
Notifications
You must be signed in to change notification settings - Fork 299
CI: Separate intrinsic-test
from the other CI tests
#1941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
CI: Separate intrinsic-test
from the other CI tests
#1941
Conversation
b64479f
to
0545cbe
Compare
- tuple: arm-unknown-linux-gnueabihf | ||
os: ubuntu-latest | ||
- tuple: armv7-unknown-linux-gnueabihf | ||
os: ubuntu-latest | ||
- tuple: aarch64-unknown-linux-gnu | ||
os: ubuntu-latest | ||
- tuple: aarch64_be-unknown-linux-gnu | ||
os: ubuntu-latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should be able to structure these rules like here
To reduce the duplication
shell: bash | ||
- run: rustup target add ${{ matrix.target.tuple }} | ||
shell: bash | ||
if: matrix.build_std == '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just
if: matrix.build_std == '' | |
if: matrix.build_std |
should work I think?
rustup component add rust-src | ||
echo "CARGO_UNSTABLE_BUILD_STD=std" >> $GITHUB_ENV | ||
shell: bash | ||
if: matrix.build_std != '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if: matrix.build_std != '' | |
if: ${{ (matrix.build_std || false) == false }} |
is the best I can think of
#export RUST_TEST_NOCAPTURE=1 | ||
#export RUST_TEST_THREADS=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are not (currently) running RUST_TEST
, so I think this can be removed?
echo "OBJDUMP=${OBJDUMP}" | ||
echo "STDARCH_DISABLE_ASSERT_INSTR=${STDARCH_DISABLE_ASSERT_INSTR}" | ||
echo "STDARCH_TEST_EVERYTHING=${STDARCH_TEST_EVERYTHING}" | ||
echo "STDARCH_TEST_SKIP_FEATURE=${STDARCH_TEST_SKIP_FEATURE}" | ||
echo "STDARCH_TEST_SKIP_FUNCTION=${STDARCH_TEST_SKIP_FUNCTION}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these are not needed?
x86_64* | i686*) | ||
export STDARCH_DISABLE_ASSERT_INSTR=1 | ||
;; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can likely wait until the x86 PR?
No description provided.