Update dos.yml #2
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
# based off https://github.com/joncloud/got/blob/main/.github/workflows/main.yml | |
name: DOS build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
dos: | |
runs-on: 'ubuntu-22.04' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'Setup environment' | |
run: sudo snap install dosbox-x | |
- name: 'Compile' | |
uses: 'joncloud/dos-build-action@main' | |
timeout-minutes: 2 | |
with: | |
programs: | | |
$/turbo-c++/3.00:c:\tc | |
run: | | |
c: | |
tcc -mt -lt main.c | |
conf: | | |
[cpu] | |
cycles=max | |
turbo=true | |
- name: 'Upload' | |
uses: actions/[email protected] | |
with: | |
name: DOS build | |
path: main.com |