DosBox / ASM51 #7
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: Run Compiler with DOSBox | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install DOSBox | |
run: choco install dosbox | |
- run: dir "C:\Program Files (x86)\DOSBox-0.74-3\" | |
- name: Run Compiler in DOSBox | |
run: | | |
echo "mount C ." > dosbox.conf | |
echo "C:" >> dosbox.conf | |
echo "ASM51.EXE bcd2000hid+.8051.asm > out" >> dosbox.conf | |
"C:\Program Files (x86)\DOSBox-0.74-3\dosbox" -console -exit -conf dosbox.conf | |
type OUT | |
shell: cmd |