-
Notifications
You must be signed in to change notification settings - Fork 27
47 lines (40 loc) · 1.27 KB
/
ccpp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
- 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