update testu01 #43
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
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 # Instala o GCC se necessário | |
- name: Compilar e Executar "TESTU01" | |
run: | | |
gcc TESTU01/teste.c -o TESTU01/teste -I include -I lib -lmylib -ltestu01 -lprobdist -lm | |
chmod +x TESTU01/teste | |
./TESTU01/teste |