JOSS paper edits #64
Workflow file for this run
This file contains hidden or 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 and Test | |
| on: [push, pull_request] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: ✅ Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: 📦 Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y g++ wget unzip | |
| - name: 📥 Download Eigen | |
| run: | | |
| wget https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip | |
| unzip eigen-3.4.0.zip | |
| mv eigen-3.4.0 eigen | |
| - name: 📁 Create output directory | |
| run: mkdir -p output_files | |
| - name: ⚙️ Compile main solver | |
| run: | | |
| g++ -o PANKH_solver src/*.cpp -Iinclude -Ieigen -std=c++11 | |
| - name: 🧪 Compile and run test | |
| run: | | |
| g++ -o test_exec tests/test.cpp -Iinclude -I/usr/include/eigen3 -std=c++11 | |
| ./test_exec tests/input.json | |