Merge pull request #22 from andrewbird/upd #24
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: Build | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- ready_for_review | |
- reopened | |
- synchronize | |
push: | |
jobs: | |
build: | |
if: contains(github.event.head_commit.message, '[skip ci]') == false | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Package install | |
run: | | |
sudo add-apt-repository ppa:tkchia/build-ia16 | |
sudo apt update | |
sudo apt install gcc-ia16-elf libi86-ia16-elf nasm upx | |
- name: Build | |
run: | | |
make -C src clobber | |
env COMPILER=gcc ./build.sh |