2018-12-07 21:03:59 +01:00
|
|
|
task:
|
Add a FreeBSD 12 build job and test FreeBSD12 APIs
This commits adds a second FreeBSD 12 build job,
and splits the implementation of the FreeBSD module
into two modules, one for FreeBSD 11, and one for FreeBSD 12.
The FreeBSD 11 module is compiled always by default, and is
mostly forward compatible with FreeBSD 12 systems.
The FreeBSD 12 module is only built for now in libc's CI,
and uses FreeBSD 12 data types and APIs, linking to symbols
that are only available in FreeBSD 12.
Basically, when LIBC_CI env variable is defined, and the host
system is a FreeBSD 12 system, then the FreeBSD 12 module is
automatically built and tested. Conditional compilation is done
using a `cfg(freebsd12)` flag.
This commit also re-enables many tests, and documents why
some remain disabled.
2019-05-16 14:53:51 +02:00
|
|
|
name: stable x86_64-unknown-freebsd-11
|
|
|
|
freebsd_instance:
|
|
|
|
image: freebsd-11-2-release-amd64
|
2018-12-07 21:03:59 +01:00
|
|
|
setup_script:
|
|
|
|
- pkg install -y curl
|
|
|
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
|
|
|
- sh rustup.sh -y
|
2019-05-16 16:33:39 +02:00
|
|
|
- . $HOME/.cargo/env
|
|
|
|
- rustup default stable
|
|
|
|
test_script:
|
|
|
|
- . $HOME/.cargo/env
|
|
|
|
- sh ci/run.sh x86_64-unknown-freebsd
|
Add a FreeBSD 12 build job and test FreeBSD12 APIs
This commits adds a second FreeBSD 12 build job,
and splits the implementation of the FreeBSD module
into two modules, one for FreeBSD 11, and one for FreeBSD 12.
The FreeBSD 11 module is compiled always by default, and is
mostly forward compatible with FreeBSD 12 systems.
The FreeBSD 12 module is only built for now in libc's CI,
and uses FreeBSD 12 data types and APIs, linking to symbols
that are only available in FreeBSD 12.
Basically, when LIBC_CI env variable is defined, and the host
system is a FreeBSD 12 system, then the FreeBSD 12 module is
automatically built and tested. Conditional compilation is done
using a `cfg(freebsd12)` flag.
This commit also re-enables many tests, and documents why
some remain disabled.
2019-05-16 14:53:51 +02:00
|
|
|
|
2019-05-16 16:33:39 +02:00
|
|
|
task:
|
Add a FreeBSD 12 build job and test FreeBSD12 APIs
This commits adds a second FreeBSD 12 build job,
and splits the implementation of the FreeBSD module
into two modules, one for FreeBSD 11, and one for FreeBSD 12.
The FreeBSD 11 module is compiled always by default, and is
mostly forward compatible with FreeBSD 12 systems.
The FreeBSD 12 module is only built for now in libc's CI,
and uses FreeBSD 12 data types and APIs, linking to symbols
that are only available in FreeBSD 12.
Basically, when LIBC_CI env variable is defined, and the host
system is a FreeBSD 12 system, then the FreeBSD 12 module is
automatically built and tested. Conditional compilation is done
using a `cfg(freebsd12)` flag.
This commit also re-enables many tests, and documents why
some remain disabled.
2019-05-16 14:53:51 +02:00
|
|
|
name: nightly x86_64-unknown-freebsd-12
|
|
|
|
freebsd_instance:
|
|
|
|
image: freebsd-12-0-release-amd64
|
2019-05-16 16:33:39 +02:00
|
|
|
setup_script:
|
|
|
|
- pkg install -y curl
|
|
|
|
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
Add a FreeBSD 12 build job and test FreeBSD12 APIs
This commits adds a second FreeBSD 12 build job,
and splits the implementation of the FreeBSD module
into two modules, one for FreeBSD 11, and one for FreeBSD 12.
The FreeBSD 11 module is compiled always by default, and is
mostly forward compatible with FreeBSD 12 systems.
The FreeBSD 12 module is only built for now in libc's CI,
and uses FreeBSD 12 data types and APIs, linking to symbols
that are only available in FreeBSD 12.
Basically, when LIBC_CI env variable is defined, and the host
system is a FreeBSD 12 system, then the FreeBSD 12 module is
automatically built and tested. Conditional compilation is done
using a `cfg(freebsd12)` flag.
This commit also re-enables many tests, and documents why
some remain disabled.
2019-05-16 14:53:51 +02:00
|
|
|
- sh rustup.sh --default-toolchain nightly -y
|
2019-05-16 16:33:39 +02:00
|
|
|
- . $HOME/.cargo/env
|
|
|
|
- rustup default nightly
|
2018-12-07 21:03:59 +01:00
|
|
|
test_script:
|
|
|
|
- . $HOME/.cargo/env
|
2019-05-16 16:33:39 +02:00
|
|
|
- sh ci/run.sh x86_64-unknown-freebsd
|