Lines Matching +full:ci +full:- +full:crate
1 The goal of the libc crate is to have CI running everywhere to have the
3 result the CI is pretty complicated and also pretty large! Hopefully this can
7 Note that this documentation is quite outdated. See CI config and scripts
8 in the `ci` directory how we run CI now.
14 * `run-docker.sh` - a shell script run by most builders, it will execute
17 * `run.sh` - the actual script which runs tests for a particular architecture.
19 * `dox.sh` - build the documentation of the crate and publish it to gh-pages.
21 # CI Systems
23 Currently this repository leverages a combination of GitHub Actions and Cirrus CI
34 * Android runs in a [docker image][android-docker] with an emulator, the NDK,
45 [Actions config]: https://github.com/rust-lang/libc/tree/master/.github/workflows
46 [Cirrus config]: https://github.com/rust-lang/libc/blob/master/.cirrus.yml
47 [android-docker]: https://github.com/rust-lang/libc/blob/master/ci/docker/x86_64-linux-android/Dock…
56 just runs a binary from another architecture (using the `qemu-<arch>` wrappers).
62 Finally, the fun part, the BSDs. Quite a few hoops are jumped through to get CI
65 * Cross compiling from Linux to any of the BSDs seems to be quite non-standard.
73 1. Download a pre-prepared image for the OS being tested.
80 4. The kernel is booted in QEMU, and it is configured to detect the libc-test
86 inside of the `libc-test` directory (which is what it's intended for) because
88 This invariably times out on CI, so we can't do that.
97 `run-qemu.sh` in this folder which is copied into the generated image talked
100 ### QEMU Setup - FreeBSD
102 1. [Download the latest stable amd64-bootonly release ISO](https://www.freebsd.org/where.html).
103 E.g. FreeBSD-11.1-RELEASE-amd64-bootonly.iso
104 2. Create the disk image: `qemu-img create -f qcow2 FreeBSD-11.1-RELEASE-amd64.qcow2 2G`
105 … `qemu-system-x86_64 -cdrom FreeBSD-11.1-RELEASE-amd64-bootonly.iso -drive if=virtio,file=FreeBSD-…
109 1. Set Hostname: freebsd-ci
143 prepend `:al=root` to the line beneath to have the machine auto-login as
155 [ -e /dev/vtbd1 ] || exit 0
156 mount -t ext2fs /dev/vtbd1 /mnt
165 1. Shutdown the machine: `shutdown -p now`
170 * https://blog.nekoconeko.nl/blog/2015/06/04/creating-an-openstack-freebsd-image.html
171 * https://www.freebsd.org/doc/handbook/serialconsole-setup.html
173 ### QEMU setup - OpenBSD
176 2. `qemu-img create -f qcow2 foo.qcow2 2G`
177 3. `qemu -cdrom foo.iso -drive if=virtio,file=foo.qcow2 -net nic,model=virtio -net user`
191 if mount -t ext2fs /dev/sd1c /mnt; then
193 shutdown -ph now