-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (34 loc) · 851 Bytes
/
make.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
name: Make project
on:
pull_request:
push:
branches:
- master
tags:
- v*
jobs:
make:
name: Make
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install dependent commands
run: sudo apt-get install cc65
- name: Build
run: make
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: "./example/coverage/lcov.info"
base-path: "./example"
- name: Make tarball
if: startsWith(github.ref, 'refs/tags/')
run: tar cvjf linux.tar.bz2 6502_tester LICENSE README.md
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: linux.tar.bz2