Skip to content

Commit e59e255

Browse files
committed
github: Add action to build and create a nightly package
1 parent fc32681 commit e59e255

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
11+
- name: install dependencies
12+
run: |
13+
sudo apt update
14+
sudo apt-get install -y build-essential autoconf automake autotools-dev xz-utils git libelf-dev texinfo
15+
16+
- name: build or1ksim
17+
run: |
18+
./configure --prefix=/opt/or1k
19+
make -j $(nproc)
20+
make DESTDIR=$PWD/install install
21+
22+
- name: tarball build
23+
run: tar czvf or1ksim.tar.gz -C ./install/opt/ or1k/
24+
25+
- uses: actions/upload-artifact@v2
26+
with:
27+
name: or1ksim-nightly
28+
path: or1ksim.tar.gz

0 commit comments

Comments
 (0)