mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 06:01:51 +00:00
feat(build): Integration test on both CPU architectures
This commit is contained in:
parent
e2f2c3f53e
commit
5204283b46
23
.travis.yml
23
.travis.yml
|
@ -55,4 +55,25 @@ script:
|
||||||
echo -n "."
|
echo -n "."
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
- docker run --rm localhost:8080/hello hello
|
|
||||||
|
# Pull and run an image of the current CPU architecture
|
||||||
|
- |
|
||||||
|
case $(uname -m) in
|
||||||
|
x86_64)
|
||||||
|
docker run --rm localhost:8080/hello hello
|
||||||
|
;;
|
||||||
|
aarch64)
|
||||||
|
docker run --rm localhost:8080/arm64/hello hello
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Pull an image of the opposite CPU architecture (but without running it)
|
||||||
|
- |
|
||||||
|
case $(uname -m) in
|
||||||
|
x86_64)
|
||||||
|
docker pull localhost:8080/arm64/hello
|
||||||
|
;;
|
||||||
|
aarch64)
|
||||||
|
docker pull localhost:8080/hello
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
Loading…
Reference in New Issue
Block a user