Re: GDC CI

2020-09-15 Thread wjoe via D.gnu
I've added the above tasks and they are reported to have been 
completed successfully in the Cirrus summary.
However, on a closer look I can spot multiple failures or 
files/directories which can't be found.
- Some 12 failed tests as well as 10 unresolved test cases in the 
unittest step.
- The build package step failed with: cd ./libcc1: no such file 
or directory.


Re: GDC CI

2020-09-15 Thread wjoe via D.gnu

On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote:
I've added the above tasks and they are reported to have been 
completed successfully in the Cirrus summary.
However, on a closer look I can spot multiple failures or 
files/directories which can't be found.
- Some 12 failed tests as well as 10 unresolved test cases in 
the unittest step.
- The build package step failed with: cd ./libcc1: no such file 
or directory.


This is the package function for reference:

build_package() {
cd build || exit 1
make install || exit 1
tar -cJf gdc-${build_host}.txz /usr || exit 1
}

Links for your convenience.
[1] https://github.com/w-joe/gcc/blob/master-ci/buildci.sh
[2] https://github.com/w-joe/gcc/blob/master-ci/.cirrus.yml


Re: GDC CI

2020-09-15 Thread Iain Buclaw via D.gnu

On Tuesday, 15 September 2020 at 16:05:53 UTC, wjoe wrote:

On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote:
I've added the above tasks and they are reported to have been 
completed successfully in the Cirrus summary.
However, on a closer look I can spot multiple failures or 
files/directories which can't be found.
- Some 12 failed tests as well as 10 unresolved test cases in 
the unittest step.
- The build package step failed with: cd ./libcc1: no such 
file or directory.


This is the package function for reference:

build_package() {
cd build || exit 1
make install || exit 1
tar -cJf gdc-${build_host}.txz /usr || exit 1
}

Links for your convenience.
[1] https://github.com/w-joe/gcc/blob/master-ci/buildci.sh
[2] https://github.com/w-joe/gcc/blob/master-ci/.cirrus.yml


Note the comments in the build function, only the dependencies of 
the C++ and D libraries are built. So you'll need to do `make 
all` in order to cover anything that was deliberately skipped.


Re: GDC CI

2020-09-15 Thread Seb via D.gnu

On Tuesday, 15 September 2020 at 16:05:53 UTC, wjoe wrote:

On Tuesday, 15 September 2020 at 16:00:56 UTC, wjoe wrote:
I've added the above tasks and they are reported to have been 
completed successfully in the Cirrus summary.
However, on a closer look I can spot multiple failures or 
files/directories which can't be found.
- Some 12 failed tests as well as 10 unresolved test cases in 
the unittest step.
- The build package step failed with: cd ./libcc1: no such 
file or directory.


This is the package function for reference:

build_package() {
cd build || exit 1
make install || exit 1
tar -cJf gdc-${build_host}.txz /usr || exit 1
}

Links for your convenience.
[1] https://github.com/w-joe/gcc/blob/master-ci/buildci.sh
[2] https://github.com/w-joe/gcc/blob/master-ci/.cirrus.yml


That's great work and progress!


I just wanted to a side note:

If you manage to build tarballs of the binaries, I think a lot of 
people would greatly appreciate if they are made available (e.g. 
can be done directly on GitHub via "Releases").
For example, see https://github.com/dlang/installer/pull/251, 
https://forum.dlang.org/thread/xktompypwvaabwebn...@forum.dlang.org, or https://forum.dlang.org/thread/bnkbldsifjhsseswi...@forum.dlang.org .


If the download links are in the official install.sh script, then 
it will auto-magically be available on Travis CI and others.


I'm happy to help with getting such releases shipped.