fix error #25
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: 'Qualification of project phases' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
threads: | |
name: 'Phase: Threads' | |
runs-on: 'ubuntu-latest' | |
env: | |
phase: 'threads' | |
steps: | |
- name: 'Cloning repository' | |
uses: 'actions/checkout@v2' | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install qemu | |
sudo ln -s /usr/bin/qemu-system-i386 /usr/bin/qemu | |
- name: Pintos Checker | |
id: phase | |
uses: gbenm/pintos-checker@v1 | |
with: | |
phase: "${{ env.phase }}" | |
root: "." | |
utils_path: "utils" | |
make: "make clean && make && make grade" | |
- name: 'Show results' | |
uses: './.github/pintos-results' | |
with: | |
results: "${{ steps.phase.outputs.results }}" | |
phase: "${{ env.phase }}" | |
userprog: | |
name: 'Phase: User Programs' | |
runs-on: 'ubuntu-latest' | |
env: | |
phase: 'userprog' | |
steps: | |
- name: 'Cloning repository' | |
uses: 'actions/checkout@v2' | |
- name: Pintos Checker | |
id: phase | |
uses: gbenm/pintos-checker@v1 | |
with: | |
phase: '${{ env.phase }}' | |
root: "." | |
utils_path: "utils" | |
make: "make clean && make && make grade" | |
- name: 'Show results' | |
uses: './.github/pintos-results' | |
with: | |
results: "${{ steps.phase.outputs.results }}" | |
phase: "${{ env.phase }}" | |
vm: | |
name: 'Phase: Virtual Memory' | |
runs-on: 'ubuntu-latest' | |
env: | |
phase: 'vm' | |
steps: | |
- name: 'Cloning repository' | |
uses: 'actions/checkout@v2' | |
- name: Pintos Checker | |
id: phase | |
uses: gbenm/pintos-checker@v1 | |
with: | |
phase: '${{ env.phase }}' | |
root: "." | |
utils_path: "utils" | |
make: "make clean && make && make grade" | |
- name: 'Show results' | |
uses: './.github/pintos-results' | |
with: | |
results: "${{ steps.phase.outputs.results }}" | |
phase: "${{ env.phase }}" | |
filesys: | |
name: 'Phase: File System' | |
runs-on: 'ubuntu-latest' | |
env: | |
phase: 'filesys' | |
steps: | |
- name: 'Cloning repository' | |
uses: 'actions/checkout@v2' | |
- name: Pintos Checker | |
id: phase | |
uses: gbenm/pintos-checker@v1 | |
with: | |
phase: '${{ env.phase }}' | |
root: "." | |
utils_path: "utils" | |
make: "make clean && make && make grade" | |
- name: 'Show results' | |
uses: './.github/pintos-results' | |
with: | |
results: "${{ steps.phase.outputs.results }}" | |
phase: "${{ env.phase }}" |