Make the X16 port build. #234
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: C/C++ CI | |
on: [push] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: 'davidgiven/cpm65' | |
path: 'cpm65' | |
- uses: actions/checkout@v3 | |
with: | |
repository: 'davidgiven/llvm-mos-sdk' | |
path: 'llvm-mos-sdk' | |
- name: get llvm-mos-sdk version | |
run: echo "MOS_SDK_VERSION=$(cd llvm-mos-sdk && git rev-parse --short HEAD)" >> $GITHUB_ENV | |
- name: apt | |
run: sudo apt update && sudo apt install cc1541 cpmtools libfmt-dev fp-compiler moreutils | |
- if: ${{ steps.cache-llvm-mos.outputs.cache-hit != 'true' }} | |
name: install llvm-mos | |
run: | | |
wget -O - https://github.com/llvm-mos/llvm-mos-sdk/releases/latest/download/llvm-mos-linux.tar.xz | tar xJf - -C $HOME | |
- name: make | |
run: make -C cpm65 LLVM=$HOME/llvm-mos/bin | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.event.repository.name }}.${{ github.sha }} | |
path: | | |
cpm65/apple2e.po | |
cpm65/atari800.atr | |
cpm65/atari800hd.atr | |
cpm65/atari800xlhd.atr | |
cpm65/bbcmicro.ssd | |
cpm65/c64.d64 | |
cpm65/diskdefs | |
cpm65/oric.dsk | |
cpm65/pet4032.d64 | |
cpm65/pet8032.d64 | |
cpm65/pet8096.d64 | |
cpm65/x16.zip | |