Debian Codegraph @

.github/workflows/main.yml

raw symbols SCIP
1 name: Build, Test and Package Snapshots
2
3 on:
4 push:
5 paths:
6 - 'src/**'
7 - 'test/**'
8 - '.github/workflows/main.yml'
9
10 jobs:
11 build_for_windows:
12 runs-on: windows-2019
13 name: Build for Windows
14 steps:
15 - uses: actions/checkout@v2
16 - name: Make
17 run: make test # build + test
18 env:
19 CC: gcc
20 - run: |
21 mkdir -p artifacts/windows
22 cp bin/dasm.exe artifacts/windows/dasm.exe
23 - uses: actions/upload-artifact@v2
24 with :
25 name: dasm snapshot builds
26 path: artifacts
27
28 build_for_mac:
29 runs-on: macos-10.15
30 name: Build for Mac
31 steps:
32 - uses: actions/checkout@v2
33 - name: Make
34 run: make test # build + test
35 env:
36 CC: gcc
37 - run: |
38 mkdir -p artifacts/macos
39 cp bin/dasm artifacts/macos/dasm
40 - uses: actions/upload-artifact@v2
41 with :
42 name: dasm snapshot builds
43 path: artifacts
44
45 build_for_linux:
46 runs-on: ubuntu-18.04
47 name: Build for Linux
48 steps:
49 - uses: actions/checkout@v2
50 - name: Make
51 run: make test # build + test
52 env:
53 CC: gcc
54 - run: |
55 mkdir -p artifacts/linux
56 cp bin/dasm artifacts/linux/dasm
57 - uses: actions/upload-artifact@v2
58 with :
59 name: dasm snapshot builds
60 path: artifacts
61