Implement four out of five suggested optimizations (#37) #109
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: test uxn | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Make chibicc | |
run: make | |
- name: Get uxn, patch it and build it | |
run: | | |
git clone https://git.sr.ht/\~rabbits/uxn | |
gcc uxn/src/uxn.c uxn/src/devices/system.c uxn/src/devices/file.c uxn/src/devices/datetime.c uxn/src/uxncli.c -o uxncli | |
gcc uxn/src/uxnasm.c -o uxnasm | |
- name: Run tests | |
run: PATH=$PATH:. make test |