-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96299ce
commit bf3d20e
Showing
1 changed file
with
38 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,158 +1,38 @@ | ||
Run cd TESTU01/TestU01-1.2.3 # Navega para o diretório correto | ||
cd TESTU01/TestU01-1.2.3 # Navega para o diretório correto | ||
./configure # Configura o projeto | ||
make # Compila o projeto | ||
#sudo make install # Instala o projeto | ||
shell: /usr/bin/bash -e {0} | ||
checking for a BSD-compatible install... /usr/bin/install -c | ||
checking whether build environment is sane... yes | ||
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p | ||
checking for gawk... gawk | ||
checking whether make sets $(MAKE)... yes | ||
checking build system type... x86_64-unknown-linux-gnu | ||
checking host system type... x86_64-unknown-linux-gnu | ||
checking for gcc... gcc | ||
checking for C compiler default output file name... a.out | ||
checking whether the C compiler works... yes | ||
checking whether we are cross compiling... no | ||
checking for suffix of executables... | ||
checking for suffix of object files... o | ||
checking whether we are using the GNU C compiler... yes | ||
checking whether gcc accepts -g... yes | ||
checking for gcc option to accept ISO C89... none needed | ||
checking for style of include used by make... GNU | ||
checking dependency style of gcc... gcc3 | ||
checking how to run the C preprocessor... gcc -E | ||
checking for a BSD-compatible install... /usr/bin/install -c | ||
checking whether ln -s works... yes | ||
checking whether make sets $(MAKE)... (cached) yes | ||
checking for a sed that does not truncate output... /usr/bin/sed | ||
checking for grep that handles long lines and -e... /usr/bin/grep | ||
checking for egrep... /usr/bin/grep -E | ||
checking for ld used by gcc... /usr/bin/ld | ||
checking if the linker (/usr/bin/ld) is GNU ld... yes | ||
checking for /usr/bin/ld option to reload object files... -r | ||
checking for BSD-compatible nm... /usr/bin/nm -B | ||
checking how to recognise dependent libraries... pass_all | ||
checking for ANSI C header files... yes | ||
checking for sys/types.h... yes | ||
checking for sys/stat.h... yes | ||
checking for stdlib.h... yes | ||
checking for string.h... yes | ||
checking for memory.h... yes | ||
checking for strings.h... yes | ||
checking for inttypes.h... yes | ||
checking for stdint.h... yes | ||
checking for unistd.h... yes | ||
checking dlfcn.h usability... yes | ||
checking dlfcn.h presence... yes | ||
checking for dlfcn.h... yes | ||
checking for g++... g++ | ||
checking whether we are using the GNU C++ compiler... yes | ||
checking whether g++ accepts -g... yes | ||
checking dependency style of g++... gcc3 | ||
checking how to run the C++ preprocessor... g++ -E | ||
checking for g77... no | ||
checking for xlf... no | ||
checking for f77... f77 | ||
checking whether we are using the GNU Fortran 77 compiler... yes | ||
checking whether f77 accepts -g... yes | ||
checking the maximum length of command line arguments... 32768 | ||
checking command to parse /usr/bin/nm -B output from gcc object... ok | ||
checking for objdir... .libs | ||
checking for ar... ar | ||
checking for ranlib... ranlib | ||
checking for strip... strip | ||
checking if gcc supports -fno-rtti -fno-exceptions... no | ||
checking for gcc option to produce PIC... -fPIC | ||
checking if gcc PIC flag -fPIC works... yes | ||
checking if gcc static flag -static works... yes | ||
checking if gcc supports -c -o file.o... yes | ||
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | ||
checking whether -lc should be explicitly linked in... no | ||
checking dynamic linker characteristics... GNU/Linux ld.so | ||
checking how to hardcode library paths into programs... immediate | ||
checking whether stripping libraries is possible... yes | ||
checking if libtool supports shared libraries... yes | ||
checking whether to build shared libraries... yes | ||
checking whether to build static libraries... yes | ||
configure: creating libtool | ||
appending configuration tag "CXX" to libtool | ||
checking for ld used by g++... /usr/bin/ld -m elf_x86_64 | ||
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes | ||
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | ||
checking for g++ option to produce PIC... -fPIC | ||
checking if g++ PIC flag -fPIC works... yes | ||
checking if g++ static flag -static works... yes | ||
checking if g++ supports -c -o file.o... yes | ||
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | ||
checking dynamic linker characteristics... GNU/Linux ld.so | ||
checking how to hardcode library paths into programs... immediate | ||
appending configuration tag "F77" to libtool | ||
checking if libtool supports shared libraries... yes | ||
checking whether to build shared libraries... yes | ||
checking whether to build static libraries... yes | ||
checking for f77 option to produce PIC... -fPIC | ||
checking if f77 PIC flag -fPIC works... yes | ||
checking if f77 static flag -static works... yes | ||
checking if f77 supports -c -o file.o... yes | ||
checking whether the f77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes | ||
checking dynamic linker characteristics... GNU/Linux ld.so | ||
checking how to hardcode library paths into programs... immediate | ||
checking for math... no | ||
checking for cos in -lm... yes | ||
checking for ANSI C header files... (cached) yes | ||
checking sys/utsname.h usability... yes | ||
checking sys/utsname.h presence... yes | ||
checking for sys/utsname.h... yes | ||
checking for unistd.h... (cached) yes | ||
checking windows.h usability... no | ||
checking windows.h presence... no | ||
checking for windows.h... no | ||
checking gmp.h usability... yes | ||
checking gmp.h presence... yes | ||
checking for gmp.h... yes | ||
checking for stdint.h... (cached) yes | ||
checking for an ANSI C-conforming const... yes | ||
checking for size_t... yes | ||
checking whether byte ordering is bigendian... no | ||
checking for long long... yes | ||
checking for uint32_t... yes | ||
checking for uint8_t... yes | ||
checking for random... yes | ||
checking for erf... yes | ||
checking for lgamma... yes | ||
checking for log1p... yes | ||
configure: creating ./config.status | ||
config.status: creating Makefile | ||
config.status: creating include/Makefile | ||
config.status: creating mylib/Makefile | ||
config.status: creating probdist/Makefile | ||
config.status: creating testu01/Makefile | ||
config.status: creating examples/Makefile | ||
config.status: creating doc/Makefile | ||
config.status: creating param/Makefile | ||
config.status: creating include/config.h | ||
config.status: creating include/gdefconf.h | ||
config.status: executing depfiles commands | ||
cd . && /bin/bash /home/runner/work/PRNG/PRNG/TESTU01/TestU01-1.2.3/missing --run aclocal-1.10 | ||
/home/runner/work/PRNG/PRNG/TESTU01/TestU01-1.2.3/missing: line 46: aclocal-1.10: command not found | ||
WARNING: `aclocal-1.10' is missing on your system. You should only need it if | ||
you modified `acinclude.m4' or `configure.ac'. You might want | ||
to install the `Automake' and `Perl' packages. Grab them from | ||
any GNU archive site. | ||
cd . && /bin/bash /home/runner/work/PRNG/PRNG/TESTU01/TestU01-1.2.3/missing --run automake-1.10 --gnu | ||
/home/runner/work/PRNG/PRNG/TESTU01/TestU01-1.2.3/missing: line 46: automake-1.10: command not found | ||
WARNING: `automake-1.10' is missing on your system. You should only need it if | ||
you modified `Makefile.am', `acinclude.m4' or `configure.ac'. | ||
You might want to install the `Automake' and `Perl' packages. | ||
Grab them from any GNU archive site. | ||
cd . && /bin/bash /home/runner/work/PRNG/PRNG/TESTU01/TestU01-1.2.3/missing --run autoconf | ||
aclocal.m4:14: error: this file was generated for autoconf 2.61. | ||
You have another version of autoconf. If you want to use that, | ||
you should regenerate the build system entirely. | ||
aclocal.m4:14: the top level | ||
autom4te: error: /usr/bin/m4 failed with exit status: 63 | ||
make: *** [Makefile:242: configure] Error 1 | ||
Error: Process completed with exit code 2. | ||
0s | ||
name: Executar Testes | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Verificar código | ||
uses: actions/checkout@v3 | ||
with: | ||
lfs: true # Habilita o suporte ao Git LFS | ||
|
||
- name: Instalar Dependências | ||
run: | | ||
sudo apt update | ||
sudo apt install -y libtestu01-0-dev gcc autoconf automake libtool # Instala ferramentas necessárias | ||
- name: Compilar e Instalar TESTU01 | ||
run: | | ||
cd TESTU01/TestU01-1.2.3 # Navega para o diretório correto | ||
./bootstrap.sh || true # Tenta executar o bootstrap se disponível | ||
./configure # Configura o projeto | ||
make # Compila o projeto | ||
sudo make install # Instala o projeto | ||
- name: Compilar e Executar "teste" | ||
run: | | ||
gcc TESTU01/teste.c -o TESTU01/teste -Iinclude -Ilib -lmylib -ltestu01 -lprobdist -lm | ||
chmod +x TESTU01/teste | ||
./TESTU01/teste |