This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
[feat] finished week 2 #22
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: build | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
makeTests: | |
runs-on: ubuntu-latest | |
# defaults: | |
# run: | |
# working-directory: ./src | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
sudo apt-get -y update | |
sudo apt-get -y install libpng-dev | |
sudo apt-get -y install zlib1g-dev | |
sudo apt-get -y install freeglut3-dev | |
sudo apt-get -y install libcurlpp-dev | |
sudo apt-get -y install libjsoncpp-dev | |
sudo cp /usr/include/jsoncpp/* /usr/include -r | |
- name: Make all binary | |
run: | | |
cmake . | |
make | |
# - name: Run test | |
# run: ./lexer.out | |
# - name: Valgrind on test | |
# run: valgrind --leak-check=full --error-exitcode=3 ./lexer.out | |
# - name: Run random test | |
# run: node ./lexer.js | |
# diffTests: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Make everything | |
# run: make all | |
# - name: Run nodejs diff tests | |
# run: node ./prodTest.js | |
# randomTests: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Make everything | |
# run: make all | |
# - name: Run nodejs random tests | |
# run: node ./randomTest.js | |
# randomMemoryTests: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Install Valgrind | |
# run: | | |
# sudo apt install valgrind | |
# echo "Valgrind installed" | |
# - name: Make everything | |
# run: make all | |
# - name: Run nodejs random memory tests | |
# run: node ./memoryTest.js |