-
Notifications
You must be signed in to change notification settings - Fork 38
46 lines (41 loc) · 1.11 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
41
42
43
44
45
46
name: C/C++ CI
on:
push:
paths:
- '**'
pull_request:
paths:
- '**'
permissions:
contents: read
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build
run: cd lib_jtag_core/build/linux && make
build-windows-x86:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build
run: sudo apt install -q -y mingw-w64 && cd build && make TARGET=mingw32
- name: Package
run: cd build && ./windowscreatezip.sh _x86
- uses: actions/upload-artifact@main
with:
name: jtag-boundary-scanner-winx86-${{ github.sha }}
path: build/JTAGBoundaryScanner_win_x86.zip
build-windows-x64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build
run: sudo apt install -q -y mingw-w64 && cd build && make TARGET=mingw64
- name: Package
run: cd build && ./windowscreatezip.sh _x64
- uses: actions/upload-artifact@main
with:
name: jtag-boundary-scanner-winx64-${{ github.sha }}
path: build/JTAGBoundaryScanner_win_x64.zip