mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
CI: beware of time limits
* .travis.yml (GCC 8): Run only the part 1 of the tests.
This commit is contained in:
@@ -200,7 +200,8 @@ jobs:
|
|||||||
- CONFIGUREFLAGS='CFLAGS=-O1 CXXFLAGS=-O1'
|
- CONFIGUREFLAGS='CFLAGS=-O1 CXXFLAGS=-O1'
|
||||||
- PART=1
|
- PART=1
|
||||||
|
|
||||||
- name: "GCC 8"
|
# With glr2.cc, we run out of time with the full test suite.
|
||||||
|
- name: "GCC 8 part 1"
|
||||||
stage: check
|
stage: check
|
||||||
os: linux
|
os: linux
|
||||||
dist: bionic
|
dist: bionic
|
||||||
@@ -210,6 +211,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
- CC=gcc-8
|
- CC=gcc-8
|
||||||
- CXX=g++-8
|
- CXX=g++-8
|
||||||
|
- PART=1
|
||||||
|
|
||||||
- name: "GCC 7"
|
- name: "GCC 7"
|
||||||
stage: check
|
stage: check
|
||||||
|
|||||||
@@ -563,13 +563,15 @@ re-run the tests, run:
|
|||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
Running old compilers is not very easy. Docker can be used for some of
|
Running old compilers is not very easy. Docker can be used for some of
|
||||||
them. Have a look at .travis.yml for setups. Move the tarball in /tmp and
|
them. Have a look at .travis.yml for setups. Move the tarball in `/tmp`
|
||||||
run, for instance:
|
and run, for instance:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run -v /tmp:/tmp -it ubuntu:xenial
|
docker run -v /tmp:/tmp -it ubuntu:xenial
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This way, the host and guest machines share `/tmp`.
|
||||||
|
|
||||||
### GCC 4.6
|
### GCC 4.6
|
||||||
On Ubuntu Xenial.
|
On Ubuntu Xenial.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user