-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (41 loc) · 1.13 KB
/
main.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: build and run tests
on:
workflow_dispatch
jobs:
build-release-linux-i686-amd64:
name: Cyclone master linux/amd64
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Install depedencies
run: sudo apt-get install -y
gcc-multilib
# see what's available in /usr/bin
- name: see what's available
run: ls -l /usr/bin
# build Cyclone i686
- name: build linux i686
run: |
sh do-conf-32
./mk-it-32.sh
./mk-it-32.sh install
ln -s $HOME/local/cyclone-32 cyclone-32
tar zcf cyclone-linux-i686.tgz cyclone-32/*
# run tests
- name: run tests linux i686
run: |
./mk-it-32.sh test_bin
# build Cyclone bootstrap i686
- name: build bootstrap linux i686
run: |
./mk-it-32.sh cyclone_src
# run bootstrap tests
- name: run tests linux i686
run: |
./mk-it-32.sh test_boot
# upload artifact, cyclone installed folder
- name: Upload cyclone-linux-i686 binary
uses: actions/upload-artifact@v1
with:
name: cyclone-linux-i686
path: cyclone-linux-i686.tgz