Research #6
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: Research | |
on: workflow_dispatch | |
jobs: | |
research: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install System Packages | |
run: sudo apt install imagemagick | |
- name: Install Python Packages | |
run: pip install matplotlib numpy | |
- name: Download Zig Compiler | |
run: mkdir compiler && wget -O zig.tar.xz https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz && tar -xvf zig.tar.xz && mv zig-linux*/lib zig-linux*/zig compiler && rm -rf zig* | |
- name: Run the Research Scripts | |
working-directory: example/research | |
run: PATH="../../compiler:$PATH" ./run.sh | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: result | |
path: example/research/result |