-
Notifications
You must be signed in to change notification settings - Fork 39
40 lines (35 loc) · 1.14 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
name: C/C++ CI
on: [push]
concurrency:
group: environment-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: apt
run: |
sudo apt update
sudo apt install cpmtools bazel-bootstrap flex bison libreadline-dev libz80ex-dev lua5.2
- name: build-ack
run: |
git clone --depth=1 https://github.com/davidgiven/ack.git
make -C ack PREFIX=$HOME +ack-cpm
make -C ack PREFIX=$HOME install
- name: make
run: PATH=$PATH:$HOME/bin make
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}.${{ github.sha }}
path: |
bazel-bin/arch/brother/pn8510/diskimage.img
bazel-bin/arch/brother/pn8800/diskimage.img
bazel-bin/arch/brother/lw30/diskimage.img
bazel-bin/arch/brother/wp2450/diskimage.img
bazel-bin/arch/brother/wp1/diskimage.img
bazel-bin/arch/kayproii/diskimage.img
bazel-bin/arch/nc200/diskimage.img